BatchSelectExtension<T> extension

on

Methods

batchSelect<TResult>(int size, TResult selector(List<T> batch), {bool includeTail = false}) Iterable<TResult>

Available on Iterable<T>, provided by the BatchSelectExtension extension

Groups elements in the iterator into batches of size length and puts them through a mapping function, optionally truncating elements that don't fit into a full-size batch.