19 lines
No EOL
880 B
JavaScript
Executable file
19 lines
No EOL
880 B
JavaScript
Executable file
import { __read, __spreadArray } from "tslib";
|
|
import { Immediate } from '../util/Immediate';
|
|
var setImmediate = Immediate.setImmediate, clearImmediate = Immediate.clearImmediate;
|
|
export var immediateProvider = {
|
|
setImmediate: function () {
|
|
var args = [];
|
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
args[_i] = arguments[_i];
|
|
}
|
|
var delegate = immediateProvider.delegate;
|
|
return ((delegate === null || delegate === void 0 ? void 0 : delegate.setImmediate) || setImmediate).apply(void 0, __spreadArray([], __read(args)));
|
|
},
|
|
clearImmediate: function (handle) {
|
|
var delegate = immediateProvider.delegate;
|
|
return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearImmediate) || clearImmediate)(handle);
|
|
},
|
|
delegate: undefined,
|
|
};
|
|
//# sourceMappingURL=immediateProvider.js.map
|