non-self referencial cyclical promises?

Raul-Sebastian Mihăilă raul.mihaila at gmail.com
Thu Feb 25 05:37:11 UTC 2016


When I first read that part of the spec, my understanding was that the two
promises would cancel each other out by waiting for each other, but without
performing an infinite set of PromiseJobs. The resolving functions created
in step 1 of 25.4.2.2 that are set as reactions for the other promise are
never triggered because the resolve function of the other promise never
triggers the reactions, instead it just adds a set of resolving function
itself for the other promise.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160225/0d1f06e4/attachment.html>


More information about the es-discuss mailing list