Module: odatajs/deferred

odatajs/deferred

Source:

Members

<static> createDeferred

createDeferred (see module:datajs/deferred~createDeferred)
Source:

<static> DjsDeferred

DjsDeferred (see DjsDeferred)
Source:

Methods

<inner> createDeferred() → {DjsDeferred}

Creates a deferred object.
Source:
Returns:
A new deferred object. If jQuery is installed, then a jQueryDeferred object is returned, which provides a superset of features.
Type
DjsDeferred

<inner> forwardCall(thisValue, name, returnValue) → {function}

Creates a new function to forward a call.
Parameters:
Name Type Description
thisValue Object Value to use as the 'this' object.
name String Name of function to forward to.
returnValue Object Return value for the forward call (helps keep identity when chaining calls).
Source:
Returns:
A new function that will forward a call.
Type
function