define(["require", "exports", "./flow_node_handler", "../next_flow_node_info"], function (require, exports, flow_node_handler_1, next_flow_node_info_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    class IntermedtiateCatchEventHandler extends flow_node_handler_1.FlowNodeHandler {
        async executeIntern(flowNode, processToken, context) {
            await new Promise(resolve => setTimeout(resolve, 2000));
            return new next_flow_node_info_1.NextFlowNodeInfo(await this.getNextFlowNodeFor(flowNode, context), processToken);
        }
    }
    exports.IntermedtiateCatchEventHandler = IntermedtiateCatchEventHandler;
});

//# sourceMappingURL=intermediate_catch_event_handler.js.map
