data-cap
    Preparing search index...

    Interface OperationState

    One operation's current execution state, keyed by canonicalized params in operations. Distinct from info.<field> -- see the module doc comment.

    interface OperationState {
        error?: DataError;
        optimistic?: boolean;
        settledAt?: number;
        startedAt?: number;
        status?: DataStatus;
        subscription?: SubscriptionInfo;
    }
    Index
    error?: DataError

    The error this call settled with, if it failed.

    optimistic?: boolean

    True while a mutator's optimistic transition for this call is still pending.

    settledAt?: number

    When this call settled (success or error), as epoch ms.

    startedAt?: number

    When this call started, as epoch ms.

    status?: DataStatus

    This call's current lifecycle status.

    subscription?: SubscriptionInfo

    Populated only for subscription operations.