SignalCD Modern PoC API
    Preparing search index...

    Interface ObservableCollaborativeTransport

    Optional observability used by the editor and deterministic test harnesses. Production adapters can implement this without changing the minimum contract.

    interface ObservableCollaborativeTransport {
        close(): Promise<void>;
        connect(documentId: string): Promise<void>;
        getMetrics(): TransportMetrics;
        getState(): TransportConnectionState;
        send(update: Uint8Array): Promise<void>;
        subscribe(listener: TransportUpdateListener): () => void;
        subscribeRecovery(listener: TransportRecoveryListener): () => void;
        subscribeState(listener: TransportStateListener): () => void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index