Retree - v1.0.0
    Preparing search index...

    Interface IConvexConnectionClient

    Minimal Convex client connection-state surface needed by ConvexConnectionStateNode.

    interface IConvexConnectionClient {
        connectionState(): ConnectionState;
        subscribeToConnectionState(
            callback: (connectionState: ConnectionState) => void,
        ): () => void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Subscribe to connection state changes.

      Parameters

      • callback: (connectionState: ConnectionState) => void

      Returns () => void