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
tokio.rs is now "default" solution for asynchronous programming in Rust. It can be quite easy to convert callback to Future with single-shot channel. but 90+% of users will have to write it's own Future based wrapper.
I suggest to change API to return Future instead of callback registration.
The text was updated successfully, but these errors were encountered:
vimmerru
changed the title
Async methods should retunr tokio.rs Future
Async methods should return tokio.rs Future
Sep 25, 2018
tokio.rs is now "default" solution for asynchronous programming in Rust. It can be quite easy to convert callback to Future with single-shot channel. but 90+% of users will have to write it's own Future based wrapper.
I suggest to change API to return Future instead of callback registration.
The text was updated successfully, but these errors were encountered: