Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
8
function
delay(milliseconds) {
9
return
Promise.delay(milliseconds);
10
}
11
12
// A thunked version of fs.readFile.
13
function
readFile(filename) {
Callers
1
basic.js
File · 0.85
Calls
1
delay
Method · 0.65
Tested by
no test coverage detected