Re:Code optimizations when using async/await
by saurik on Tuesday January 04, 2022 @12:05PM
(#29797033)
Note (for people who might try to mentally generalize this to other languages or situations) that this requires eager coroutines, which not all async/await frameworks support (and is often optional for the ones that do); for libraries that lean into "structured parallelism" you will need to pass these off to something that awaits them in some way (potentially as a group, or maybe to something that adapts the awaitable into an eager promise from a different system) for them to even start executing.
[ Parent
| on HN ]
There are no comments on this comment yet.