Documentation
    Preparing search index...

    Type Alias PeerConnectedCallback

    PeerConnectedCallback: (nodeId: NodeId, transport: ITransport) => Promise<void>

    Called when a connection to a peer is complete, including the network access handshake, and the node can exchange data.

    Provides the node ID as identification.

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

    Type Declaration