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
Right now when we read data from the underlying stream, only a single random task is notified, and this task will notify the other tasks. This is not a very optimal design.
Worse: if multiple substreams try to write, only one task will be notified and not the others.
Right now when we read data from the underlying stream, only a single random task is notified, and this task will notify the other tasks. This is not a very optimal design.
Worse: if multiple substreams try to write, only one task will be notified and not the others.
This can be fixed by creating a separate task for the underlying stream and using the various
_notify
methods: https://docs.rs/futures/0.1.23/futures/executor/struct.Spawn.htmlThe text was updated successfully, but these errors were encountered: