3 ms·
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 fram
by saurik 5y ago
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.