Skip to main content
Module

x/proc/mod3.ts>sleep

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function sleep
import { sleep } from "https://deno.land/x/proc@0.20.18/mod3.ts";

Sleep for a while.

Parameters

delayms: number

Delay in milliseconds.

Returns

Promise<void>