Show HN: ConclureJS: A tiny generator runner
1–3 of 3 posts
Re: Show HN: ConclureJS: A tiny generator runner
#2How does Typescript deal with replacing `await XXX` with `yield YYY`? Can typescript infer the type of the yield expression?
How cancellable are these flows, really? My issue with most libraries that promise (no pun intended) cancellation in Node is that at the bottom of the call stack is someone else’s callback code where cancellation is impossible - cancellation is always “cooperative”. So, other than avoiding a tick - couldn’t you get the same sort of features by wrapping all your `await` calls with a special `await ctx.checkpoint(someAsyncOperation())` that throws CancellationError?
Re: Show HN: ConclureJS: A tiny generator runner
#3BumbleCoroutines - it makes writing games fun.
Here’s a game I made that uses Bumble and it’s coroutine system: https://github.com/jbluepolarbear/Bumble-Asteroids