FunctionsuseBatchuseBatch CallableuseBatch<T>(fn: () => T): TRuns the given function in a batch.Type parametersT
Runs the given function in a batch.