MCPcopy
hub / github.com/yortus/asyncawait / delay

Function delay

examples/basic.js:8–10  ·  view source on GitHub ↗
(milliseconds)

Source from the content-addressed store, hash-verified

6
7// A function that returns a promise.
8function delay(milliseconds) {
9 return Promise.delay(milliseconds);
10}
11
12// A thunked version of fs.readFile.
13function readFile(filename) {

Callers 1

basic.jsFile · 0.85

Calls 1

delayMethod · 0.65

Tested by

no test coverage detected