occupancy property
Number of retained items across every logical queue.
Implementation
int get occupancy => queues.fold(0, (total, queue) => total + queue.length);
Number of retained items across every logical queue.
int get occupancy => queues.fold(0, (total, queue) => total + queue.length);