couch-kit
    Preparing search index...

    Interface StateSnapshot<S>

    A snapshot of state at a point in time during replay.

    interface StateSnapshot<S extends IGameState = IGameState> {
        action: IAction;
        index: number;
        state: S;
        timestamp: number;
    }

    Type Parameters

    Index
    action: IAction
    index: number
    state: S
    timestamp: number