Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ mustCall
Function
mustCall
test/parallel/test-http2-backpressure.js:49–53 ·
view source on GitHub ↗
(fn, exact)
Source
from the content-addressed store, hash-verified
47
}
48
49
function
mustCall(fn, exact) {
50
return
common.mustCall((...args) => {
51
return
Promise.resolve(fn(...args)).then(common.mustCall((val) => val));
52
}, exact);
53
}
Callers
15
test-abortsignal-drop-settled-signals.mjs
File · 0.70
test-quic-stream-body-string-shorthand.mjs
File · 0.70
test-child-process-fork-abort-signal.js
File · 0.70
test-quic-flow-control-block-resume.mjs
File · 0.70
test-quic-callback-error-suppressed.mjs
File · 0.70
test-quic-stream-reset-stop.mjs
File · 0.70
test-fs-cp-async-filter-function.mjs
File · 0.70
test-quic-stream-body-error.mjs
File · 0.70
test-quic-diagnostics-channel-token.mjs
File · 0.70
test-console-diagnostics-channels.js
File · 0.70
test-fs-cp-async-error-on-exist.mjs
File · 0.70
test-quic-preferred-address-ignore.mjs
File · 0.70
Calls
3
fn
Function · 0.70
then
Method · 0.45
resolve
Method · 0.45
Tested by
3
test
Function · 0.56
test
Function · 0.56
test
Function · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…