items property

Iterable<QueueItem<T>> items
final

The items in the queue's current batch.

Unless the queue was created with deepCopyItemsInSnapshot: true, this is a live view of the queue's items: iterating it later shows the items as they are then, and changing the queue while iterating it throws a ConcurrentModificationError. Copy it with toList() to keep it.

Implementation

final Iterable<QueueItem<T>> items;