I have an async function that accepts an item from the array in a FOR loop and sends async network request and upon the whatever result it calls OnSuccess/OnFailure. in WBP this async function can only be used in Event Graph, I cant extract it into a custom function and because async function return/yield immediately by design the FOR loop and its variables will continue updating and will finish while the first async call executes still. Therefore I cant reference array index or currentObj since it was modified by the loop. I need to capture it somehow. Normally I’d wrap in my own async caller but I dont have access to C++ side.
Is there a workaround I can use with BP that does not involve a lot of data duplication (i.e. I know I could solve it by making separate array of request but this essentially doubles the data)?