vacp2p / nim-libp2p

libp2p implementation in Nim
https://vacp2p.github.io/nim-libp2p/docs/
MIT License
240 stars 52 forks source link

chore(yamux): change closedRemotely from Future into AsyncEvent #1133

Closed lchenut closed 1 week ago

lchenut commented 1 week ago

We used closedRemotely as a asynchronous flag which is not really the goal of a Future. For this specific case, an AsyncEvent makes more sense.