Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/marijnh/Eloquent-JavaScript
/ pause
Function
pause
code/chapter/22_fast.js:72–74 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
70
}
71
72
function
pause() {
73
return
new
Promise(done => setTimeout(done, 0))
74
}
75
76
async
function
runLayout(implementation, graph) {
77
let
time = 0, iterations = 0;
Callers
1
runLayout
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected