pond-ts API Reference (core)
    Preparing search index...

    Type Alias FusedMapping<S>

    FusedMapping: Readonly<Record<string, FusedMappingValue<S>>>

    Keyed-record fused-rolling mapping. Each entry declares a window (the key) and what to reduce over that window (the value).

    Constraint: time-based windows only. Object keys are duration strings or the 'buffer' sentinel. Count-based windows (live.rolling(100, ...)) stay on the existing single-window overload and are not mixable with time-windows in the fused form.

    Type Parameters

    const mapping = {
    '1m': { cpu_avg: 'avg', cpu_sd: 'stdev', cpu_n: 'count' },
    '200ms': { cpu_samples: 'samples' },
    } as const;