You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/peer-discovery/README.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -72,4 +72,7 @@ It returns a `Promise`
72
72
73
73
-`discovery.on('peer', (peerInfo) => {})`
74
74
75
-
Everytime a peer is discovered by a discovery service, it emmits a `peer` event with the discover peer's [PeerInfo](https://github.com/libp2p/js-peer-info).
75
+
Everytime a peer is discovered by a discovery service, it emmits a `peer` event with the discovered peer's information, which must contain the following properties:
0 commit comments