7
The idea of async
/await
has become common in several languages (C#, Javascript etc).
It seems that Rust recently (in the 2018 edition of Rust) adopted the idea of async
/await
, together with the concept of Future
(which, as far as I understand it, is analogous to a Promise
javascript).
I’d like to know how async
/await
works in Rust. If necessary, also briefly on Future
.