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 Feb 12, 2024. It is now read-only.
I want to support better offline use cases. I need the peerId to be able to start working locally, without needing for Swarm, Bitswap or Pubsub to consider themselves ready.
AFAIK, right now there is no event that tells me this. init is only emitted if the repo needs initialising. start and ready are only emitted once the network layer is ready, which may not happen in my case.
Right now I'm polling the IPFS node for the _peerInfo property, but I would like to have a better alternative.
I would like to have an event that tells me once the peerId is known.