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

Hi,

I want to recreate a for loop with an iterator.

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

Best

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.

Hi

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.

best

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