Code coverage report for cjs/scheduler/AsapScheduler.js

Statements: 88.24% (15 / 17)      Branches: 57.14% (4 / 7)      Functions: 100% (5 / 5)      Lines: 100% (14 / 14)      Ignored: none     

All files » cjs/scheduler/ » AsapScheduler.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 191 1 1 1   1 1 1 1 1 1   1 4   1   1  
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var AsapAction_1 = require('./AsapAction');
var QueueScheduler_1 = require('./QueueScheduler');
var AsapScheduler = (function (_super) {
    __extends(AsapScheduler, _super);
    function AsapScheduler() {
        _super.apply(this, arguments);
    }
    AsapScheduler.prototype.scheduleNow = function (work, state) {
        return new AsapAction_1.AsapAction(this, work).schedule(state);
    };
    return AsapScheduler;
})(QueueScheduler_1.QueueScheduler);
exports.AsapScheduler = AsapScheduler;
//# sourceMappingURL=AsapScheduler.js.map