dojo.DeferredList
dojo.require("dojo.DeferredList");
defined in dojo/DeferredList.js
DeferredList takes an array of existing deferreds and returns a new deferred of its own
this new deferred will typically have its callback fired when all of the deferreds in
the given list have fired their own deferreds. The parameters fireOnOneCallback
and
Usage
parameter | type | description |
---|---|---|
list | Array | The list of deferreds to be synchronizied with this DeferredList |
fireOnOneCallback | Boolean | Optional. Will cause the DeferredLists callback to be fired as soon as any of the deferreds in its list have been fired instead of waiting until the entire list has finished fireonOneErrback: Will cause the errback to fire upon any of the deferreds errback |
fireOnOneErrback | Boolean | Optional. will fire before all the deferreds as appropriate |
consumeErrors | Boolean | Optional. |
canceller | Function | Optional. A deferred canceller function, see dojo.Deferred |
FunctionsBack to top
Defined by dojo.Deferred
Add the same function as both a callback and an errback as the next element on the callback sequence.This is useful for code that you want to guarantee to run, e.g. a finalizer.
Defined by dojo.Deferred
Add a single callback to the end of the callback sequence.

Defined by dojo.Deferred
Add separate callback and errback to the end of the callback sequence.

Defined by dojo.Deferred
Add a single callback to the end of the callback sequence.

Defined by dojo.Deferred
Cancels a Deferred that has not yet received a value, or is waiting on another Deferred as its value.

Gathers the results of the deferreds for packaging as the parameters to the Deferred Lists' callback

The DeferredLists' callback handler

Defined by dojo.Deferred

Defined by dojo.Deferred
Used internally to exhaust the callback sequence when a result is available.
PropertiesBack to top
Overrides dojo.Deferred
Overrides dojo.Deferred
cause the DeferredLists callback to be fired as soon as any of the deferreds in its list have been fired instead of waiting until the entire list has finished fireonOneErrback: Will cause the errback to fire upon any of the deferreds errback
fire before all the deferreds as appropriate
Overrides dojo.Deferred
list of deferreds to be synchronizied with this DeferredList
Overrides dojo.Deferred
Overrides dojo.Deferred
Overrides dojo.Deferred
Defined by dojo.Deferred