Microtask scheduling

Benjamin Gruenbaum benjamingr at gmail.com
Wed Jun 28 11:11:22 UTC 2017


Addressing the original request:

> Any chance something like Node's process.nextTick could be added, maybe
something like Promise.schedule(func, thisArg, ...args)?

That's basically `Promise.resolve().then(func.bind(thisArg, ...args))`

Although promise schedulers are huge - and I think could solve a lot of
problems people are having - but that's besides this issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170628/ce5b5073/attachment.html>


More information about the es-discuss mailing list