Show:

Promise Class

Defined in: iface.promise.js:5
Module: breeze

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

Item Index

Methods

Methods

fail

(
  • errorCallback
)

Defined in iface.promise.js:17

Used to handle any errors encountered wheh processing the promise.

Parameters:

  • errorCallback Function

fin

(
  • finallyCallback
)

Defined in iface.promise.js:24

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

Parameters:

  • finallyCallback Function

then

(
  • callback
)

Defined in iface.promise.js:10

Used to handle the sucessfull return of data from a promise

Parameters:

  • callback Function