class

Fetcher::EntryIterator

Inherits Iterator < Enumerable < Reference < Object

Lazy iterator for streaming feed entries

Constructors

Instance methods

collect(limit : Int32 | Nil = nil) : Array(Entry)

Convert iterator to array with optional limit Note: This consumes the iterator. Call only once.

Source
next

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.

Source