"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LeaveContextAction = void 0;
const index_js_1 = require("../model/index.js");
class LeaveContextAction extends index_js_1.Action {
    async exec() { }
    afterRun() {
        this.$context.leave();
    }
}
exports.LeaveContextAction = LeaveContextAction;
LeaveContextAction.$type = 'Flow.leaveContext';
LeaveContextAction.$icon = 'fas fa-sign-out-alt';
LeaveContextAction.$help = `
Leaves current context. The subsequent execution step will be context matching.

### Use For

- advanced scripting, where fine grained flow control is required
`;
//# sourceMappingURL=Flow.leaveContext.js.map