batchDepth top-level property

int batchDepth
getter/setter pair

Current depth of nested batch operations.

When greater than 0, effect execution is deferred until all batches complete to avoid redundant computations.

Implementation

int batchDepth = 0;