feat: check if interepretation in progress

This commit is contained in:
karishmas6
2024-06-05 04:35:02 +05:30
parent 10678bb4ab
commit b357172b39

View File

@@ -261,4 +261,12 @@ export class WorkflowInterpreter {
return result; return result;
} }
/**
* Returns true if an interpretation is currently running.
* @returns {boolean}
*/
public interpretationInProgress = () => {
return this.interpreter !== null;
};
} }