gallery-sm-promise-events Module
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: