Entracte (TypeScript)
    Preparing search index...

    Options that control how step durations relate to the break length. When omitted the function behaves as hold mode (back-compat).

    type RoutineProgressOpts = {
        fillToSecs?: number;
        maxStepSecs?: number;
        pacing?: "hold" | "fill" | "loop";
    }
    Index

    Properties

    fillToSecs?: number

    Break duration in seconds. Required for fill and loop pacing; ignored for hold.

    maxStepSecs?: number

    For fill mode: if any scaled step would exceed this cap (in seconds), fall back to loop mode with the original authored durations instead.

    pacing?: "hold" | "fill" | "loop"

    Pacing mode. Defaults to 'hold' when absent.