trackedStreams property

int get trackedStreams

How many streams hold a charge, for diagnostics and tests.

Counts either dimension: a zero-copy stream holds events and no bytes, and reading _held alone reported it as tracking nothing.

Implementation

int get trackedStreams => _queues.length;