Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/tools/deps/proc.ts>sleep

A better way to work with processes in Deno.
Go to Latest
function sleep
import { sleep } from "https://deno.land/x/proc@0.21.8/tools/deps/proc.ts";

Sleep for a while.

Parameters

delayms: number

Delay in milliseconds.

Returns

Promise<void>