3 ms·
> Awaiting implicitly would hide a potentially long and important operation. but as you point out else thread, you can still hide blocking and potentially expe
by gpderetta 3y ago
> Awaiting implicitly would hide a potentially long and important operation.
but as you point out else thread, you can still hide blocking and potentially expensive operations in any function, so not seeing await give no guarantee that the operation won't block (it only guarantees that the operation won't return to the event loop, assuming that the rust event loop is not reentrant).
Hence await doesn't really protect any useful invariant.