Re:Await in Rust
by dnautics on Monday August 12, 2019 @11:16AM
(#20676175)
Just don't use it. I presume you could, in rust, use an actor model like Actix and do async/await like Elixir does -> from the calling thread spawn a new actor that runs the async task, which sends a message back with the result on completion; parent thread does its thing, and then blocks on receipt of the response + a reference token.
[ Parent
| on HN ]
There are no comments on this comment yet.