Skip to content
Litichevskiy Dmitriy edited this page Jul 7, 2019 · 1 revision

batchResultSelector: *

Kind: global typedef
Returns: * - Element transformation result.

Param Type Description
bucket Manipula Bucket elements.

manipula.batch(size, [resultSelector])

Method batches the source iterable into sized buckets and applies a projection to each bucket.

Kind: instance method of Manipula

Param Type Description
size number Buket size.
resultSelector batchResultSelector The projection to apply to each bucket.
Clone this wiki locally