face-api/build/globalApi/ComposableTask.js

9 lines
248 B
JavaScript
Raw Normal View History

2020-08-31 15:12:04 +02:00
export class ComposableTask {
async then(onfulfilled) {
return onfulfilled(await this.run());
}
async run() {
throw new Error('ComposableTask - run is not implemented');
}
}
//# sourceMappingURL=ComposableTask.js.map