feat: real time progress update for runs
This commit is contained in:
@@ -580,6 +580,13 @@ export class WorkflowInterpreter {
|
|||||||
setActionName: (name: string) => {
|
setActionName: (name: string) => {
|
||||||
this.currentActionName = name;
|
this.currentActionName = name;
|
||||||
},
|
},
|
||||||
|
progressUpdate: (current: number, total: number, percentage: number) => {
|
||||||
|
this.socket.nsp.emit('workflowProgress', {
|
||||||
|
current,
|
||||||
|
total,
|
||||||
|
percentage
|
||||||
|
});
|
||||||
|
},
|
||||||
},
|
},
|
||||||
serializableCallback: async (data: any) => {
|
serializableCallback: async (data: any) => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user