Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ delay
Function
delay
test/parallel/test-debugger-profile.js:11–13 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
9
const
assert = require(
'assert'
);
10
11
function
delay(ms) {
12
return
new
Promise((resolve) => setTimeout(resolve, ms));
13
}
14
15
// Profiles.
16
{
Callers
15
test-stream-readable-to-web-termination.js
File · 0.70
test-debugger-profile.js
File · 0.70
test-quic-stream-read-after-fin.mjs
File · 0.70
test-whatwg-readablestream.js
File · 0.70
test-quic-stream-read-after-blocked.mjs
File · 0.70
test-eventtarget.js
File · 0.70
strategies.any.js
File · 0.50
general.any.js
File · 0.50
transform
Function · 0.50
reentrant-strategies.any.js
File · 0.50
errors.any.js
File · 0.50
flush.any.js
File · 0.50
Calls
1
setTimeout
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…