Strata - v1.4.10
    Preparing search index...

    Interface StateChangeEvent<T>

    Metadata describing a state change event.

    interface StateChangeEvent<T> {
        currentValue: T;
        key?: string;
        previousValue: T;
        timestamp: number;
        type: StateChangeType;
    }

    Type Parameters

    • T
    Index

    Properties

    currentValue: T

    State value after the change.

    key?: string

    Optional key identifying which part of state changed.

    previousValue: T

    State value before the change.

    timestamp: number

    Event timestamp.

    The operation that triggered the change.