def METHOD_NAME(self, value: _T) -> None:
    """Add a value to the back of the queue.
    Returns immediately, without blocking. The queue can grow without bound.
    Raises:
        QueueClosed: If the queue is already closed.
    """
    with self._condition:
        if self._is_closed:
            raise QueueClosed("Can't add more values when queue is already closed.")
        else:
            self._deque.append(value)
            self._condition.notify()