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.
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.