a:20:{s:9:"#provides";s:17:"dojo.DeferredList";s:9:"#resource";s:15:"DeferredList.js";s:17:"dojo.DeferredList";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dojo.Deferred";}s:4:"call";a:1:{i:0;s:13:"dojo.Deferred";}}s:10:"parameters";a:5:{s:4:"list";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:64:"The list of deferreds to be synchronizied with this DeferredList";}s:17:"fireOnOneCallback";a:3:{s:8:"optional";b:1;s:4:"type";s:7:"Boolean";s:7:"summary";s:246:"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";}s:16:"fireOnOneErrback";a:2:{s:8:"optional";b:1;s:4:"type";s:7:"Boolean";}s:13:"consumeErrors";a:2:{s:8:"optional";b:1;s:4:"type";s:7:"Boolean";}s:9:"canceller";a:3:{s:8:"optional";b:1;s:4:"type";s:8:"Function";s:7:"summary";s:48:"A deferred canceller function, see dojo.Deferred";}}s:6:"source";s:746:" this.list = list; this.resultList = new Array(this.list.length); // Deferred init this.chain = []; this.id = this._nextId(); this.fired = -1; this.paused = 0; this.results = [null, null]; this.canceller = canceller; this.silentlyCancelled = false; if(this.list.length === 0 && !fireOnOneCallback){ this.callback(this.resultList); } this.finishedCount = 0; this.fireOnOneCallback = fireOnOneCallback; this.fireOnOneErrback = fireOnOneErrback; this.consumeErrors = consumeErrors; dojo.forEach(this.list, function(d, index){ d.addCallback(this, function(r){ this._cbDeferred(index, true, r); return r; }); d.addErrback(this, function(r){ this._cbDeferred(index, false, r); return r; }); }, this);";s:7:"summary";s:56:"Provides event handling for a group of Deferred objects.";s:11:"description";s:328:"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 fireOnOneErrback, will fire before all the deferreds as appropriate";s:9:"classlike";b:1;}s:29:"dojo.DeferredList._cbDeferred";a:6:{s:9:"prototype";s:17:"dojo.DeferredList";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:5:"index";a:1:{s:4:"type";s:0:"";}s:9:"succeeded";a:1:{s:4:"type";s:0:"";}s:6:"result";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:429:" this.resultList[index] = [succeeded, result]; this.finishedCount += 1; if(this.fired !== 0){ if(succeeded && this.fireOnOneCallback){ this.callback([index, result]); }else if(!succeeded && this.fireOnOneErrback){ this.errback(result); }else if(this.finishedCount == this.list.length){ this.callback(this.resultList); } } if(!succeeded && this.consumeErrors){ result = null; } return result;";s:7:"summary";s:35:"The DeferredLists' callback handler";s:7:"private";b:1;}s:31:"dojo.DeferredList.gatherResults";a:5:{s:9:"prototype";s:17:"dojo.DeferredList";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:12:"deferredList";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:226:" var d = new dojo.DeferredList(deferredList, false, true, false); d.addCallback(function(results){ var ret = []; dojo.forEach(results, function(result){ ret.push(result[1]); }); return ret; }); return d;";s:7:"summary";s:100:"Gathers the results of the deferreds for packaging as the parameters to the Deferred Lists' callback";}s:31:"dojo.DeferredList.finishedCount";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:22:"dojo.DeferredList.list";a:3:{s:8:"instance";s:17:"dojo.DeferredList";s:4:"type";s:3:"The";s:7:"summary";s:60:"list of deferreds to be synchronizied with this DeferredList";}s:28:"dojo.DeferredList.resultList";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:23:"dojo.DeferredList.chain";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:20:"dojo.DeferredList.id";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:23:"dojo.DeferredList.fired";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:24:"dojo.DeferredList.paused";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:25:"dojo.DeferredList.results";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:27:"dojo.DeferredList.canceller";a:3:{s:8:"instance";s:17:"dojo.DeferredList";s:4:"type";s:1:"A";s:7:"summary";s:46:"deferred canceller function, see dojo.Deferred";}s:35:"dojo.DeferredList.silentlyCancelled";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:29:"dojo.DeferredList.list.length";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:35:"dojo.DeferredList.fireOnOneCallback";a:3:{s:8:"instance";s:17:"dojo.DeferredList";s:4:"type";s:4:"Will";s:7:"summary";s:241:"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";}s:34:"dojo.DeferredList.fireOnOneErrback";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:31:"dojo.DeferredList.consumeErrors";a:2:{s:8:"instance";s:17:"dojo.DeferredList";s:7:"summary";s:0:"";}s:4:"dojo";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}