Hiyve Components - v1.0.0
    Preparing search index...

    Value exposed by useSemanticRelay().

    interface UseSemanticRelayResult {
        client: SemanticRelayClient | null;
        error: Error | null;
        isConnected: boolean;
        session: SessionInfo | null;
        state: RelayConnectionState;
    }
    Index

    Properties

    client: SemanticRelayClient | null

    The underlying client instance, or null when disconnected / disabled.

    error: Error | null

    Last error surfaced by the client, if any.

    isConnected: boolean

    Convenience: state === 'connected'.

    session: SessionInfo | null

    Snapshot returned at connect time, if any.

    Current connection state.