mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-16 15:40:49 +00:00
chore: add jsdoc
This commit is contained in:
parent
b4fb9b7bf2
commit
828a32d4f5
@ -262,6 +262,9 @@ class AutoRelay {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {PeerId} peerId
|
||||
*/
|
||||
async _tryToListenOnRelay (peerId) {
|
||||
try {
|
||||
const connection = await this._libp2p.dial(peerId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user