MCPcopy Index your code
hub / github.com/gpujs/gpu.js / useFunctionContext

Method useFunctionContext

src/backend/function-tracer.js:81–86  ·  view source on GitHub ↗
(run)

Source from the content-addressed store, hash-verified

79 }
80
81 useFunctionContext(run) {
82 const functionContext = last(this.functionContexts);
83 this.runningContexts.push(functionContext);
84 run();
85 this.runningContexts.pop();
86 }
87
88 getIdentifiers(run) {
89 const trackedIdentifiers = this.trackedIdentifiers = [];

Callers 1

scanMethod · 0.95

Calls 2

lastFunction · 0.85
runFunction · 0.50

Tested by

no test coverage detected