MCPcopy Create free account
hub / github.com/VITA-MLLM/VITA-Audio / is_empty

Method is_empty

web/queue.py:143–154  ·  view source on GitHub ↗

Check if the queue is empty in a thread-safe manner. Parameters: - None Returns: - bool: True if the queue is empty, False otherwise.

(self)

Source from the content-addressed store, hash-verified

141 self._queue.get()
142
143 def is_empty(self):
144 """
145 Check if the queue is empty in a thread-safe manner.
146
147 Parameters:
148 - None
149
150 Returns:
151 - bool: True if the queue is empty, False otherwise.
152 """
153 with self._lock:
154 return self._queue.empty()
155
156 def size(self):
157 """

Callers 2

handle_audioFunction · 0.80
interruptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected