|
|
|
|
|
by switchbak
85 days ago
|
|
These higher level primitives that they mention provide the primitives for exactly that. This can be found in other paradigms besides async/await. I do find that the ergonomics of this are highly dependent on a few features of a language runtime, without which it all falls apart. Or you need language specific syntax and typically a single standard implementation. |
|
And I can't honestly think of another paradigm that doesn't require callback functions or lambdas that, ergonomically, end up producing function implementations that end up drifting off the right side of the screen for anything more than a couple of sequential asynchronous operations.