Documentation for routine batch
Documentation for routine batch, assembled from the following types:
method batch(--> TODO)
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.