Iterating over unknown sizes

Mojo iterators use the size and not an exception to indicate the end of an iterator. Is it still somehow possible to iterate over collections that don't have an upfront known size (like streams of data) ?
1 Reply
benny
benny7mo ago
you could loop with a try catch inside and return on error but outside that i don’t think this is explicitly supported

Did you find this page helpful?