Member Junction
    Preparing search index...

    Sends a session close that survives page unload.

    interface ISessionCloseBeacon {
        SendClose(
            agentSessionId: string,
            closeReason: ClientCloseReason,
        ): Promise<boolean>;
    }
    Index

    Methods

    Methods

    • Dispatches the close synchronously (the page may be gone right after) and returns without waiting. The returned promise settles with whether the server acknowledged it, when the page lives to see it; it never rejects (failures are logged with the session id).

      Parameters

      Returns Promise<boolean>