@agatx/serenada-core
    Preparing search index...

    Type Alias ConnectionEvent

    ConnectionEvent:
        | { downtimeMs: number; kind: "reconnected"; reason: DropoutTrigger }
        | { kind: "reconnectFailed"; reason: "timeout" | "networkConnectivity" }

    Connection-quality event emitted by the SDK through SerenadaSessionHandle.onConnectionEvent. Hosts map these to their reconnect/disconnect analytics events.

    Type Declaration

    • { downtimeMs: number; kind: "reconnected"; reason: DropoutTrigger }
      • downtimeMs: number

        Downtime of the recovered dropout, in ms.

      • kind: "reconnected"
      • reason: DropoutTrigger

        networkLost if the dropout began with signaling/network loss, else unknown.

    • { kind: "reconnectFailed"; reason: "timeout" | "networkConnectivity" }
      • kind: "reconnectFailed"
      • reason: "timeout" | "networkConnectivity"

        timeout (recovery window elapsed) or networkConnectivity (no network/transport).