TOC Toolkit API - v0.1.0
    Preparing search index...

    What the caller of a computation gives to its budget.

    interface RootBudgetOptions {
        clock: Clock;
        limits: Limits;
        cancellation?: Cancellation;
        artifacts?: ArtifactCache;
    }
    Index
    clock: Clock

    The clock of the watchdog. The budget reads no other clock.

    limits: Limits

    The amount of each resource that the computation may use. Time is in milliseconds.

    cancellation?: Cancellation

    A flag that stops the computation when the caller sets it.

    artifacts?: ArtifactCache

    The cache of completed artifacts. A caller that keeps one cache across computations lets a later computation reuse what an earlier one finished for the same owners. Without it the budget makes a cache of its own, which lives as long as the budget.