chore: add jsdoc

This commit is contained in:
Vasco Santos 2021-04-15 14:38:25 +02:00
parent b4fb9b7bf2
commit 828a32d4f5

View File

@ -262,6 +262,9 @@ class AutoRelay {
}
}
/**
* @param {PeerId} peerId
*/
async _tryToListenOnRelay (peerId) {
try {
const connection = await this._libp2p.dial(peerId)