nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

Yamux: Remove trySend AsyncSpawn

Open lchenut opened this issue 2 weeks ago • 0 comments

AsyncSpawn, in this specific case is clearly overkill. AsyncSpawn is not recommanded as it is uncontrollable, and, here, it could easily be replaced by another method which is safer such as an AsyncQueue or just storing the Future in the Yamux object.

lchenut avatar Jun 21 '24 12:06 lchenut