Show:

Promise Class

This is an simply api documentation for the CommonJS A Promises specification as it is used within Breeze.

Item Index

Methods

Methods

fail

(
  • errorCallback
)

Used to handle any errors encountered wheh processing the promise.

Parameters:

  • errorCallback Function

fin

(
  • finallyCallback
)

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

Parameters:

  • finallyCallback Function

then

(
  • callback
)

Used to handle the sucessfull return of data from a promise

Parameters:

  • callback Function