Promise Class
This is an simply api documentation for the CommonJS A Promises specification as it is used within Breeze.
Methods
fail
(
-
errorCallback
Used to handle any errors encountered wheh processing the promise.
Parameters:
-
errorCallbackFunction
fin
(
-
finallyCallback
A callback that is called regardless of the success or failure of the promise.
Parameters:
-
finallyCallbackFunction
then
(
-
callback
Used to handle the sucessfull return of data from a promise
Parameters:
-
callbackFunction
