@dxos/compute - v0.16.0
    Preparing search index...

    Type Alias Checkpoint<S>

    Reducer state after the event head; a cache that is always safe to drop, since replaying from the start rebuilds it exactly.

    type Checkpoint<S> = {
        count: number;
        head?: Trajectory.EventId;
        state: S;
    }

    Type Parameters

    • S
    Index

    Properties

    Properties

    count: number

    Events folded so far.

    state: S