2020-08-20 02:05:34 +02:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
exports.ComposableTask = void 0;
|
|
|
|
class ComposableTask {
|
2020-08-18 14:04:33 +02:00
|
|
|
async then(onfulfilled) {
|
|
|
|
return onfulfilled(await this.run());
|
|
|
|
}
|
|
|
|
async run() {
|
|
|
|
throw new Error('ComposableTask - run is not implemented');
|
|
|
|
}
|
|
|
|
}
|
2020-08-20 02:05:34 +02:00
|
|
|
exports.ComposableTask = ComposableTask;
|
2020-08-18 14:04:33 +02:00
|
|
|
//# sourceMappingURL=ComposableTask.js.map
|