MCPcopy Index your code
hub / github.com/nodejs/node / exchange

Method exchange

lib/internal/async_context_frame.js:28–32  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

26 }
27
28 static exchange(frame) {
29 const prior = this.current();
30 this.set(frame);
31 return prior;
32 }
33
34 static disable(store) {
35 const frame = this.current();

Callers 14

runInAsyncScopeMethod · 0.45
processImmediateFunction · 0.45
listOnTimeoutFunction · 0.45
processPromiseRejectionsFunction · 0.45
TestAtomicsOperationsFunction · 0.45
gc-js-interop.jsFile · 0.45
atomics.jsFile · 0.45

Calls 2

currentMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected