getBatchDepth function

int getBatchDepth()

Returns the current batch depth, where zero means no batching.

Example:

assert(getBatchDepth() >= 0);

Implementation

@pragma("vm:prefer-inline")
@pragma("wasm:prefer-inline")
@pragma("dart2js:prefer-inline")
int getBatchDepth() => batchDepth;