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
I can use open_stream to obtain a stream, but how can I do this in yamux 0.13.1 since Control has been removed and we need call Connection::poll_next_inbound repeatedly in order to make progress
Hi! I recently tried to upgrade yamux to the latest version and I want to provide a method to create a stream from a connection in my project
In yamux 0.10.2, I can use
I can use
open_stream
to obtain a stream, but how can I do this in yamux 0.13.1 sinceControl
has been removed and we need callConnection::poll_next_inbound
repeatedly in order to make progressI found some examples in tests, it looks like:
but since the ownership of
client
has already been moved intotask::spawn
, how do I then obtain a stream from this connection afterward?The text was updated successfully, but these errors were encountered: