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-26 15:52:37 -07:00
committed by GitHub
co-authored by Jan Oberhauser
parent 23eba33613
commit 1e4fd9e4df
4 changed files with 197 additions and 0 deletions
@@ -2320,6 +2320,9 @@ export function getExecuteSingleFunctions(
return allItems[itemIndex];
},
getItemIndex() {
return itemIndex;
},
getMode: (): WorkflowExecuteMode => {
return mode;
},