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

Method clear

web/queue.py:129–141  ·  view source on GitHub ↗

Clear the queue in a thread-safe manner. Parameters: - None Returns: - None

(self)

Source from the content-addressed store, hash-verified

127 return None
128
129 def clear(self):
130 """
131 Clear the queue in a thread-safe manner.
132
133 Parameters:
134 - None
135
136 Returns:
137 - None
138 """
139 with self._lock:
140 while not self._queue.empty():
141 self._queue.get()
142
143 def is_empty(self):
144 """

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected