feat: real time progress update for runs

This commit is contained in:
amhsirak
2026-01-02 11:35:32 +05:30
parent 36b80da631
commit 2f42914cc4

View File

@@ -580,6 +580,13 @@ export class WorkflowInterpreter {
setActionName: (name: string) => {
this.currentActionName = name;
},
progressUpdate: (current: number, total: number, percentage: number) => {
this.socket.nsp.emit('workflowProgress', {
current,
total,
percentage
});
},
},
serializableCallback: async (data: any) => {
try {