Skip to content

Commit 3fe2033

Browse files
committed
feat: emit run completed socket event
1 parent 31840c8 commit 3fe2033

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/src/workflow-management/classes/Interpreter.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ export class WorkflowInterpreter {
332332
}, {})
333333
}
334334

335+
this.socket.emit('run-completed', "success");
336+
335337
logger.log('debug', `Interpretation finished`);
336338
this.clearState();
337339
return result;
@@ -354,4 +356,4 @@ export class WorkflowInterpreter {
354356
this.socket = socket;
355357
this.subscribeToPausing();
356358
};
357-
}
359+
}

0 commit comments

Comments
 (0)