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

x/earthstar/src/entries/npm.ts>sleep

Storage for private, distributed, offline-first applications.
Go to Latest
function sleep
Re-export
import { sleep } from "https://deno.land/x/earthstar@v10.2.0/src/entries/npm.ts";

Returns a promise which is fulfilled after a given number of milliseconds.

Parameters

ms: number

Returns

Promise<void>