An interface representing some way to connect to other peers
Called by the Repo to start the connection process
peerId - the peerId of this repo
peerMetadata - how this adapter should present itself to other peers
Called by the Repo to disconnect from the network
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Remove all listeners, or those of the specified event.
Optional event: keyof NetworkAdapterEvents
Generated using TypeDoc