"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SuccessAction = void 0;
const index_js_1 = require("../model/index.js");
class SuccessAction extends index_js_1.Action {
    async exec() { }
    leave() {
        this.$script.setStatus('success');
    }
}
exports.SuccessAction = SuccessAction;
SuccessAction.$type = 'Flow.success';
SuccessAction.$icon = 'fas fa-check-circle';
SuccessAction.$help = `
Finishes script execution with Success status.

Note: normally, success is reported via success contexts.
Use this action only when imperative success handling is required.

### Use For

- advanced scripting, when exiting early is required
`;
//# sourceMappingURL=Flow.success.js.map