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

Method _printStack

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

@internal

(options?: { details?: boolean; maxDepth?: number })

Source from the content-addressed store, hash-verified

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 (
1290 typeof (result as { then?: unknown } | undefined)?.then === 'function'
1291 ) {
1292 void Promise.resolve(result as PromiseLike<unknown>).then(
1293 undefined,
1294 () => {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected