3 ms·
These don’t look like continuations to me, just ways to use generators? Continuations would involve reifying the current control flow into a value, which these
by vore 3y ago
These don’t look like continuations to me, just ways to use generators? Continuations would involve reifying the current control flow into a value, which these examples don’t seem to do and still rely on generators to yield control.
- qudat 3y agoThese libraries rely on deliminited continuations: https://github.com/thefrontside/continuation https://github.com/thefrontside/continuation Because of this tiny implementation we are able to express any async flow construct with less code than relying on something like async/await or callbacks.