Function to batch the inputs across multiple calls
OptionaldisregardSee debounce for more information
Function to be wrapped
Interval between each batched call
OptionalunbatchIf provided, unbatch the output according to the inputs, so each call receives its own output.
By default, each input will receive the same output from the batched call
Options to construct a
batchfunction