4 ms·
The writeup mentioned that (await future)?; is undesirable because it disrupts the logical flow. Could await be implemented as a prefix, with an additional mac
by numakerg 7y ago
The writeup mentioned that (await future)?; is undesirable because it disrupts the logical flow.
Could await be implemented as a prefix, with an additional macro?
awaits!(foo()) that expands to (await foo())
- steveklabnik 7y agoThat ruins the chaining aspect.