mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-16 18:51:21 +00:00
feat: add maxNumProviders to findprovs (#283)
* feat: add maxNumProviders to findprovs * chore: upgrade libp2p-kad-dht
This commit is contained in:
@ -20,6 +20,7 @@ module.exports = (node) => {
|
||||
* @param {CID} key The CID key of the content to find
|
||||
* @param {object} options
|
||||
* @param {number} options.maxTimeout How long the query should run
|
||||
* @param {number} options.maxNumProviders - maximum number of providers to find
|
||||
* @param {function(Error, Result<Array>)} callback
|
||||
* @returns {void}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user