Cotal TypeScript packages
    Preparing search index...

    Interface CloseReport

    What closing the opening achieved. Only the adapter's native observation may set these.

    interface CloseReport {
        connectionClosed: "confirmed" | "not-confirmed";
        credentialValidUntil?: number;
        lost?: string;
        message: string;
        retirement: "unknown" | "requested" | "retired" | "not-applicable";
    }
    Index
    connectionClosed: "confirmed" | "not-confirmed"

    Whether the broker connection closure was confirmed (eviction verified or own close observed).

    credentialValidUntil?: number

    Static mode: the credential stays broker-valid until this epoch ms unless eviction was verified.

    lost?: string

    Set when the session ended itself because it could not continue, such as when its inbox was gone from the broker after an outage: why.

    message: string
    retirement: "unknown" | "requested" | "retired" | "not-applicable"

    retired: the authority confirmed the terminal. requested: asked, not confirmed. unknown: the request's outcome is unknown. not-applicable: open mode has no lifecycle.