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
benny5mo ago
you could loop with a try catch inside and return on error but outside that i don’t think this is explicitly supported
Want results from more Discord servers?
Add your server