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
Some places have self.stream_on_network.write().next().await which may lead to locking the stream for a long time.
Some places use .timeout from async-std to avoid locking it for too long, but the timeout is arbitrary. Instead, it would be better to use .now_or_never() from future crate.
This would make it easier to use also make the executor abstract on #25
The text was updated successfully, but these errors were encountered:
Some places have
self.stream_on_network.write().next().await
which may lead to locking the stream for a long time.Some places use
.timeout
fromasync-std
to avoid locking it for too long, but the timeout is arbitrary. Instead, it would be better to use.now_or_never()
fromfuture
crate.This would make it easier to use also make the executor abstract on #25
The text was updated successfully, but these errors were encountered: