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
There's no way to know when the actual "last peer" has been found. The best we can do is say that we've finished contacting all the trackers (or the requests have timed out) and finished the DHT lookup.
At some point in the future, an offline tracker might start working, new peers could come online, etc.
But a "lookupCompleted" event would be useful. Would you care to send a PR?
I think it would be cool to have an event emitter for when the last peer in a swarm has been found. Thoughts?
The text was updated successfully, but these errors were encountered: