API Docs for: 3.11.0-git
Show:

gallery-sm-promise-events Module

Available since @@SINCE@@

Provides a Y.Promise.EventNotifier class. Instances can be used to decorate Y.Promise instances with an on() method to allow for non-resolution related event notifications such as cancelation or progress. Additionally, the promise's then method is "infected" to propagate the mixin to its returned promises as well, allowing notifications to cascade throughout a promise chain.

This module provides the following classes: