libp2p components
Readonly
addOptional
options: boolean | AddEventListenerOptionsReadonly
numProtected
pubsubReadonly
removeOptional
listener: null | EventHandler<Libp2pEvents<ServiceMap>[K]>Optional
options: boolean | EventListenerOptionsOptional
listener: EventHandler<Event>Optional
options: boolean | EventListenerOptionsProtected
streamProtected
getRetrieves a list of connected peers that support the protocol. The list is sorted by latency.
Optional
__namedParameters: { A list of peers that support the protocol sorted by latency.
Protected
getMake a peer exchange query to a peer
Generated using TypeDoc
Implementation of the Peer Exchange protocol (https://rfc.vac.dev/spec/34/)