MCPcopy Create free account
hub / github.com/developit/asyncro / sleep

Function sleep

test/index.js:7–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5const get = v => Promise.resolve(v);
6
7const sleep = time => new Promise( r => setTimeout(r, time) );
8
9
10test('series', async t => {

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…