Hacker News new | ask | show | jobs
by cowboyd 776 days ago
JavaScript generators are unmined gold! We've done a lot of usage of JavaScript generators as delimited continuations; using them to implement the classic shift/reset operations in JavaScript. https://github.com/thefrontside/continuation

Built on those delimited continuations is structured concurrency for JavaScript (https://frontside.com/effection)