Add execution time to execution result

This commit is contained in:
dali 2021-02-24 12:25:17 +01:00
parent 82b599c233
commit fbeb56ab69

View file

@ -188,7 +188,8 @@ export class ExecuteAll extends Command {
}
continue;
}
executionResult.executionTime = (Date.parse(data.stoppedAt as unknown as string) - Date.parse(data.startedAt as unknown as string))/1000;
executionResult.finished = (data?.finished !== undefined) as boolean;
if (data.data.resultData.error) {