Documentation
    Preparing search index...

    Type Alias ConnectedToRelayCallback

    ConnectedToRelayCallback: (
        relayNodeId: NodeId,
        transport: ITransport,
    ) => Promise<void>

    Called when a connection to the relay is complete, including the network access handshake, and the node can be contacted through the relay.

    Provides the relay's node ID

    Fire-and-forget notification. The transport does not await this, but logs errors.

    Type Declaration