MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / _inScope

Method _inScope

src/compute-engine/index.ts:1284–1286  ·  view source on GitHub ↗

@internal

(scope: Scope | undefined, f: () => T)

Source from the content-addressed store, hash-verified

1282 lifecycle.factSuppressionDepth -= 1;
1283 }
1284 // A plain (non-async) thunk can still hand back a promise, and by now
1285 // its work has already escaped the bracket. Refuse the result rather
1286 // than hand back a value derived under conditions the caller did not
1287 // ask for — after detaching the orphaned promise's rejection, so the
1288 // refusal does not also surface an unhandled-rejection warning later.
1289 if (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected