Show:

File: iface.promise.js

/**
 @module breeze
 **/

/**
 This is an simply api documentation for the CommonJS A Promises specification as it is used within Breeze.
 @class Promise
 **/

/**
 Used to handle the sucessfull return of data from a promise

 @method then
 @param callback {Function}
 **/

/**
 Used to handle any errors encountered wheh processing the promise.

 @method fail
 @param errorCallback {Function}
 **/

/**
 A callback that is called regardless of the success or failure of the promise.

 @method fin
 @param finallyCallback {Function}
 **/