Prometheus Entity Management API
    Preparing search index...

    Interface LoroWebSocketChannelOptions

    interface LoroWebSocketChannelOptions {
        onError?: (error: Error) => void;
        reconnect?: LoroWebSocketReconnectOptions;
        webSocketConstructor?: {
            CLOSED: 3;
            CLOSING: 2;
            CONNECTING: 0;
            OPEN: 1;
            prototype: WebSocket;
            new (url: string | URL, protocols?: string | string[]): WebSocket;
        };
    }
    Index
    onError?: (error: Error) => void

    Receives transport errors; errors are never silently discarded.

    webSocketConstructor?: {
        CLOSED: 3;
        CLOSING: 2;
        CONNECTING: 0;
        OPEN: 1;
        prototype: WebSocket;
        new (url: string | URL, protocols?: string | string[]): WebSocket;
    }

    Injectable constructor used by deterministic transport tests.