Documentation for method batch
Documentation for method batch, assembled from the following types:
method batch(Supply: :, : --> Supply)
Creates a new supply that batches the values of the given supply by either the number of elements in the batch (using
:elems) or the maximum number of seconds (using the
:seconds) or both. Any remaining values are emitted in a final batch when the supply is done.