scales.utils.collection
Array backed buffer, restart returns the captured data and then rejoins the original iterator
(Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.
collect
toSeq
Array backed buffer, restart returns the captured data and then rejoins the original iterator