@playlive/realtime-pipeline
    Preparing search index...

    Interface PipelineConnectionEvents

    Lifecycle events surfaced by PipelineConnection.on.

    interface PipelineConnectionEvents {
        close: (
            info: { code?: number; reason?: string; wasClean?: boolean },
        ) => void;
        error: (event: unknown) => void;
        identify: (payload: unknown) => void;
        message: (raw: string) => void;
        open: () => void;
        "reconnect-stop": (attempts: number) => void;
    }
    Index
    close: (info: { code?: number; reason?: string; wasClean?: boolean }) => void
    error: (event: unknown) => void
    identify: (payload: unknown) => void
    message: (raw: string) => void
    open: () => void
    "reconnect-stop": (attempts: number) => void

    Fires when reconnect attempts are exhausted (matches react-use-websocket-lite).