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.