Setu-TS
    Preparing search index...

    Interface ProbeTiming

    The clock-and-timer surface createCachedProbe runs on, bound to a runtime.

    0.5.0

    interface ProbeTiming {
        clearTimer: (handle: unknown) => void;
        hrtime: () => number;
        setTimer: (fn: () => void, ms: number) => unknown;
    }
    Index
    clearTimer: (handle: unknown) => void

    Cancels a timer created by ProbeTiming.setTimer — the runtime's clearTimeout.

    hrtime: () => number

    Monotonic clock in milliseconds — the runtime's hrtime. Measures the cache TTL as an interval, never a wall-clock reading.

    setTimer: (fn: () => void, ms: number) => unknown

    Timer used to bound each probe — the runtime's setTimeout.