diff --git a/a_sync/primitives/queue.py b/a_sync/primitives/queue.py index 9d4f3319..e4c26190 100644 --- a/a_sync/primitives/queue.py +++ b/a_sync/primitives/queue.py @@ -78,7 +78,7 @@ class Queue(_Queue[T]): def __bool__(self) -> Literal[True]: """A Queue will always exist, even without items.""" return True - + def __len__(self) -> int: """Returns the number of items currently in the queue.""" return len(self._queue)