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

Method _checkContinueExecution

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

@internal

()

Source from the content-addressed store, hash-verified

1541 const state = this._boxingState;
1542 const current = state.currentOperation();
1543 if (current === undefined) return true;
1544 // An operation nested in an operation that is not a program runs in the
1545 // environment of the enclosing operation: the method that opened the
1546 // operation, called again in it, and every operation of library code.
1547 if (!current.isProgram) return false;
1548 // In the environment of a program, an evaluation in the evaluation of a
1549 // statement by the run driver runs in it.
1550 return !(evaluation && state.inProgramStatement);
1551 }

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected