Creates a copy of the passed function which batches updates made during its execution.
A function to copy.
A copy of the passed function with batched updates.
Creates a copy of the passed function which batches updates made during its execution.