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
Sorry for the late response on this. At the moment I don't think they are cancellation safe, that's a very good point. They definitely should be though. That will be my next task on this project when I have time; anyone can feel free to submit a PR as well.
Is cancellation of futures yielded by methods of this library (e.g.
Websocket::receive
) safe?Imagine a scenario like this
If
done_soon
finishes whileWebsocket::receive
processes an incoming Frame, will the frame be lost?The text was updated successfully, but these errors were encountered: