1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.runTasksInSerial = void 0;
|
4 | const tslib_1 = require("tslib");
|
5 | function runTasksInSerial(...tasks) {
|
6 | return () => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
7 | for (const task of tasks) {
|
8 | yield task();
|
9 | }
|
10 | });
|
11 | }
|
12 | exports.runTasksInSerial = runTasksInSerial;
|
13 | //# sourceMappingURL=run-tasks-in-serial.js.map |
\ | No newline at end of file |