Hacker News new | ask | show | jobs
by acjohnson55 4536 days ago
The one limitation I see with using await-defer or generators for async code, instead of promises, is that you lose the ability to specify multiple continuations to your async call. With a promise, you can always continue your synchronous work after setting your `then` handler.