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

Function checkDeadline

src/common/interruptible.ts:27–34  ·  view source on GitHub ↗
(deadline: number | undefined)

Source from the content-addressed store, hash-verified

25 * frame is immutable: entering a span creates a new frame; exiting restores
26 * the saved previous frame object.
27 *
28 * - `at`: absolute ms timestamp beyond which execution should not proceed.
29 * - `owner`: label of the span whose deadline is the EFFECTIVE one (i.e. the
30 * span that owns `at`). `undefined` for an unlabelled span.
31 * - `spans`: labels of all active spans, outermost first. Unlabelled spans
32 * contribute nothing.
33 */
34export interface DeadlineFrame {
35 at: number;
36 owner?: string;
37 spans: string[];

Callers 15

bigintDigitsLSBFunction · 0.90
bigintDigitSumFunction · 0.90
number-theory.tsFile · 0.90
AFunction · 0.90
SFunction · 0.90
PFunction · 0.90
isPerfectPowerBigintFunction · 0.90
divisorsAscendingFunction · 0.90
bernoulliNumberFunction · 0.90
binomialBigintFunction · 0.90
combinatorics.tsFile · 0.90
factorialFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected