Finish producing.
Finish producing.
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Upgrades Iterator
s to return results in batches of a given size.
Upgrades Iterator
s to return results in batches of a given size.
(Note that paging does imply anything on the buffering strategy)
Make an element available for the consumer.
Make an element available for the consumer.
Instruct the implementation to truncate at its earliest convenience and dispose of resources.
Instruct the implementation to truncate at its earliest convenience and dispose of resources.
true
if the consumer instructed the producer to stop.
Appropriate in cases where the producer is not expected to create enough data to cause memory problems, regardless of consumption rate.
Has an effectively infinite buffer.