@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias TraceSinkOptions

    type TraceSinkOptions = {
        cancelProcess?: (target: CancelTarget) => void;
        cancelScope?: "pid" | "run";
        stallTimeout?: number;
    }
    Index

    Properties

    cancelProcess?: (target: CancelTarget) => void

    Cancels the process/trigger that emitted progress for a keyed monitor (wired from the process manager).

    cancelScope?: "pid" | "run"

    How a cancel tombstone bounds "the cancelled run" so its dying tail cannot resurrect the meter while a genuinely later run still can. pid (default) suits a local process — one pid per run, released by a different pid; run suits an edge trigger, whose run is a chain of bounded invocations each with a fresh pid, so the key is suppressed until the run's terminal status.

    stallTimeout?: number

    Milliseconds a monitor may go without a status update before it is failed as stalled; see DEFAULT_STALL_TIMEOUT_MS. Non-positive or non-finite disables the bound, which leaves a lost terminal pinning its meter open — only appropriate where the producer is in-process and its terminal cannot be lost.