batchDepth top-level property
Current nesting depth of `startBatch`/`endBatch` calls.
Example:
startBatch();
assert(batchDepth > 0);
endBatch();
Implementation
int batchDepth = 0;
Current nesting depth of `startBatch`/`endBatch` calls.
Example:
startBatch();
assert(batchDepth > 0);
endBatch();
int batchDepth = 0;