@pond-ts/process API Reference
    Preparing search index...

    Interface SnapshotSource<S>

    A live source that can snapshot itself to the batch layer in one call. LiveSeries and LiveView match; the incremental operators do not.

    interface SnapshotSource<S extends SeriesSchema> {
        length: number;
        name: string;
        schema: S;
        at(index: number): EventForSchema<S> | undefined;
        on(type: "event", fn: (event: any) => void): () => void;
        toTimeSeries(name?: string): TimeSeries<S>;
    }

    Type Parameters

    • S extends SeriesSchema

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    length: number
    name: string
    schema: S

    Methods