2020-08-20 02:10:42 +02:00
|
|
|
export 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');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//# sourceMappingURL=ComposableTask.js.map
|