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
let service = make_service();
tokio::spawn(asyncmove{let _ = service.call(req).await;});
Currently doesn't compile, complaining that the Future generated for service::call call, does currently not implement Send, which is a requirement here, given we expect it to be Send for it to compile in a higher order fn.
The text was updated successfully, but these errors were encountered:
This issue can be closed as-is, given there's not much we can do or have to do, except to wait.
For now tower-async users can make use of the "tubofish" syntax to get around it.
Code such as the following pseudo code:
Currently doesn't compile, complaining that the Future generated for
service::call
call, does currently not implement Send, which is a requirement here, given we expect it to be Send for it to compile in a higher order fn.The text was updated successfully, but these errors were encountered: