Documentation
    Preparing search index...

    Type Alias ConnectedToRelayCallback

    ConnectedToRelayCallback: (
        nodeAddress: NodeAddress,
        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 node's own dial address, fully qualified to be shared with peers so they can reach this node via the relay.

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

    Type Declaration