Re:Await in Rust
by Tuna-Fish on Monday August 12, 2019 @12:44PM
(#20677173)
Thank you for putting it explicitly, everything here suddenly makes so much more sense.
But yes, in Rust async is not a plague that irredeemably taints everything. You can choose to use anything that is async synchronously if you choose to, just by calling .poll() on the future at the callsite.
But yes, in Rust async is not a plague that irredeemably taints everything. You can choose to use anything that is async synchronously if you choose to, just by calling .poll() on the future at the callsite.