News for hackers. Stuff that matters.
Re:Async-await on stable Rust by pcwalton on Thursday November 07, 2019 @12:05PM (#21474968)
You can easily convert async to sync by just blocking on the result. The other way (sync to async) is more difficult and requires proxying out to a thread pool, but it's also doable.
Re:Async-await on stable Rust by BatmanAoD on Monday November 11, 2019 @02:00PM (#21507718)
An `async` function _can_ call blocking functions, of course, it just blocks the entire thread of execution which could otherwise continue making progress by polling another future.