feat: check if interepretation in progress
This commit is contained in:
@@ -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;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user