News for hackers. Stuff that matters.
Re:JavaScript Promises in Wicked Detail by domenicd on Thursday May 01, 2014 @12:47AM (#7678287)
setImmediate works with macrotasks; promises work with microtasks. These are very different. See e.g. https://github.com/YuzuJS/setImmediate#macrotasks-and-microt...

Also, note that yield/generators are entirely synchronous, and cannot be used as a scheduling mechanism of any sort.

There are no comments on this comment yet.