feat(core): Expose item index being processed (#3590)

* 🧑‍💻 Expose item index being processed

*  Fix tests for getCurrentItemIndex

*  Fix tests for getCurrentItemIndex

*  Rename method

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
brianinoa
2022-06-27 00:52:37 +02:00
committed by GitHub
parent 23eba33613
commit 1e4fd9e4df
4 changed files with 197 additions and 0 deletions

View File

@@ -2320,6 +2320,9 @@ export function getExecuteSingleFunctions(
return allItems[itemIndex];
},
getItemIndex() {
return itemIndex;
},
getMode: (): WorkflowExecuteMode => {
return mode;
},