src/aria/core/DownloadMgr.js
function (cb, evt) {
            if (this._syncLoadCounter < this.MAX_LOAD_STACK) {
                this._syncLoadCounter++;
                this.$callback(cb, evt);
                this._syncLoadCounter--;
            } else {
                var self = this;
                Aria.$global.setTimeout(function () {
                    self.$callback(cb, evt);
                    self = cb = evt = null;
                }, 0);
            }
        }
function (cb, evt) {
            if (this._syncLoadCounter < this.MAX_LOAD_STACK) {
                this._syncLoadCounter++;
                this.$callback(cb, evt);
                this._syncLoadCounter--;
            } else {
                var self = this;
                Aria.$global.setTimeout(function () {
                    self.$callback(cb, evt);
                    self = cb = evt = null;
                }, 0);
            }
        }
function ( cb , evt ) { if ( this . _syncLoadCounter < this . MAX_LOAD_STACK ) { this . _syncLoadCounter ++ ; this . $callback ( cb , evt ) ; this . _syncLoadCounter -- ; } else { var self = this ; Aria . $global . setTimeout ( function ( ) { self . $callback ( cb , evt ) ; self = cb = evt = null ; } , 0 ) ; } }
It calls the callback provided as argument. The call is synchronous unless the number of synchronous file
loads has exceeded the allowed limit
@protected
@param {aria.core.CfgBeans:Callback} cb Callback
@param {Object} evt Description of a "fileReady" event
It calls the callback provided as argument . The call is synchronous unless the number of synchronous file loads has exceeded the allowed limit