addrStream abstract method

Future<Stream<MultiAddr>> addrStream(
  1. PeerId id
)

AddrStream returns a stream that gets all addresses for a given peer sent on it. If new addresses are added after the call is made they will be sent along through the stream as well.

Implementation

Future<Stream<MultiAddr>> addrStream(PeerId id);