What is the best way to make a loop with an iterator?


I want to recreate a for loop with an iterator.

What do you think about this design ? How do you do it ?


Hi @JulienDelRio

This should work fine depending on your use case. :slight_smile:
If you have a bit more info on what you are doing we are able to give you a better answer.


No particular context, few times I had to iterate objects.
The last time it was Sheets in a XLSX file.

I was thinking about “best practives” to do that and reusable patterns.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.