BatchSelectExtension<T> extension

on

Methods

batchSelect<TResult>(int size, TResult selector(List<T> batch), {bool includeTail = false}) Iterable<TResult>
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.