foo-webview-sdk
    Preparing search index...

    Interface StateDeletedPayload

    Payload of the state:deleted event. A value left the shared state: state.delete removed it, or its lifetime ran out. Expired values are swept only when state.get or state.keys runs, so the event for an expiry comes then rather than at the expiry time; deleting a value that expired but was not swept yet reports deleted.

    interface StateDeletedPayload {
        key: string;
        reason: "deleted" | "expired";
        sourceWindowId: string;
    }
    Index
    key: string

    The key.

    reason: "deleted" | "expired"

    deleted for state.delete, expired when its lifetime ran out.

    sourceWindowId: string

    Id of the window that deleted it, main when the caller cannot be matched to a window; "" for an expiry.