UNPKG

flowed

Version:

A fast and reliable flow engine for orchestration and more uses in *Node.js*, *Deno* and the browser

19 lines 583 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FlowFinished = void 0; const _1 = require("."); const types_1 = require("../../types"); class FlowFinished extends _1.FlowState { getStateCode() { return types_1.FlowStateEnum.Finished; } reset() { this.setState(types_1.FlowStateEnum.Ready); this.runStatus.initRunStatus(this.runStatus.spec); } getSerializableState() { return this.runStatus.toSerializable(); } } exports.FlowFinished = FlowFinished; //# sourceMappingURL=flow-finished.js.map