interface Identify {
    identify(connection, options?): Promise<IdentifyResult>;
}

Methods

Methods

  • due to the default limits on inbound/outbound streams for this protocol, invoking this method when runOnConnectionOpen is true can lead to unpredictable results as streams may be closed by the local or the remote node. Please use with caution. If you find yourself needing to call this method to discover other peers that support your protocol, you may be better off configuring a topology to be notified instead.

    Parameters

    Returns Promise<IdentifyResult>