Scheduler.prototype.enqueue = function(task) {
            this._queue[this._queueLen++] = task;
            this.run();
        };