shajara API Map
    Preparing search index...

    Interface Pacer

    Embedding-environment contract for executor slice control and deferred continuation.

    interface Pacer {
        beginSlice: () => Slice;
        continueLater: (work: () => void) => Disposer;
    }
    Index
    beginSlice: () => Slice

    Begins one synchronous executor slice.

    Type Declaration

      • (): Slice
      • Returns Slice

        Slice controller for the current turn.

    continueLater: (work: () => void) => Disposer

    Schedules executor work to continue after the current slice.

    Type Declaration

      • (work: () => void): Disposer
      • Parameters

        • work: () => void

        Returns Disposer

        Disposer that cancels the scheduled continuation.