startBatch function
void
startBatch()
Starts a new batch operation.
While in a batch, effect execution is deferred to avoid redundant computations. Multiple nested batches are supported. Effects are executed when all batches complete.
Implementation
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
@pragma('wasm:prefer-inline')
void startBatch() => ++batchDepth;