Skip to main content
Module

x/proc/mod.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.19.8/mod.ts";

Sleep for a while.

Parameters

delayms: number

Delay in milliseconds.

Returns

Promise<void>