face-api/build/globalApi/ComposableTask.js

13 lines
392 B
JavaScript
Raw Normal View History

"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');
}
}
exports.ComposableTask = ComposableTask;
2020-08-18 14:04:33 +02:00
//# sourceMappingURL=ComposableTask.js.map