Code coverage report for lib/common/fiber-bootstrap.js

Statements: 100% (10 / 10)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (10 / 10)      Ignored: none     

All files » lib/common/ » fiber-bootstrap.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15    1 1 1 1 3 3 3 3 3     1  
///<reference path=".d.ts"/>
"use strict";
var Fiber = require("fibers");
var Future = require("fibers/future");
var errors = require("./errors");
function run(action) {
    Fiber(function () {
        errors.installUncaughtExceptionListener();
        action();
        $injector.dispose();
        Future.assertNoFutureLeftBehind();
    }).run();
}
exports.run = run;