pendingReadCount property

int get pendingReadCount

Number of sampled reads that have not yet updated their outputs.

Implementation

int get pendingReadCount =>
    _pending.length +
    _synchronousPending.fold<int>(
        0,
        (total, pipeline) =>
            total +
            pipeline
                .take(pipeline.length - 1)
                .where((pending) => pending)
                .length);