Runs a function while deferring scheduler flushing until the outermost batch completes.
Jobs scheduled inside the batch are still queued immediately, but eager computations are only drained once after the batch finishes.
The function to execute inside the batch.
The value returned by func.
func
Runs a function while deferring scheduler flushing until the outermost batch completes.
Jobs scheduled inside the batch are still queued immediately, but eager computations are only drained once after the batch finishes.