Track dialing progress #4987
-
According to the coding guideline: rust-libp2p/docs/coding-guidelines.md Lines 304 to 313 in b7914e4 Shouldn't there be a way to track the progress of a dialing request issued to the swarm? How can you track that request when swarm.dial() returns Ok(()) when the request is accepted?
|
Beta Was this translation helpful? Give feedback.
Answered by
thomaseizinger
Jan 15, 2024
Replies: 1 comment 3 replies
-
The |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We didn't want to return information from a function that was passed in and we had to create the
ConnectionId
withinDialOpts
because it was a requirement to obtain theConnectionId
from a yet-to-be-created connection within aNetworkBehaviour
to ensureNetworkBehaviour
s can learn, which connections they initiated viaToSwarm::Dial
.