On Wed, Aug 19, 2015 at 5:23 PM, Bobby Holley <bobbyhol...@gmail.com> wrote: > On Wed, Aug 19, 2015 at 2:12 PM, Kyle Huey <m...@kylehuey.com> wrote: >> >> On Wed, Aug 19, 2015 at 2:04 PM, Bobby Holley <bobbyhol...@gmail.com> >> wrote: >> > On Wed, Aug 19, 2015 at 1:39 PM, Kyle Huey <m...@kylehuey.com> wrote: >> >> >> >> Does MozPromise have the same "skipping the event loop" behavior that >> >> JS promises have? >> > >> > >> > They do not. >> > >> >> >> >> Or is that limited just to StateMirroring? >> > >> > >> > Correct, as well as StateWatching. StateMirroring uses StableState to >> > dispatch the atomic state updates, and StateWatching uses it to run >> > notifications. >> > >> > bholley >> > >> >> Good. This should be clearly documented, as its a subtle but >> important distinction from JS promises, which people are likely to be >> familiar with. > > > Done: https://hg.mozilla.org/integration/mozilla-inbound/rev/db24d3cda834 >
<3 - Kyle _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform