Suspend execution until the result of a Future
is ready.
.await
ing a future will suspend the current function's execution until the executor
has run the future to completion.
Read the async book for details on how async/await and executors work.
await
is a keyword from the 2018 edition onwards.
It is available for use in stable rust from version 1.39 onwards.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/keyword.await.html