News for hackers. Stuff that matters.
Re:Await in Rust by bryanlarsen on Monday August 12, 2019 @10:22AM (#20675646)
Leaving it up to the caller to decide seems reasonable, but you only have control over the top level, you still have no control over how the function you're calling calls other functions.

Also, blocking on a future is trivial (just call poll).

So I would argue that async/await does a better job of leaving it up to the caller to decide: use await if you want async, use poll if you want sync.

There are no comments on this comment yet.