MCPcopy
hub / github.com/ModelTC/LightLLM / get_all_data

Method get_all_data

lightllm/server/httpserver/async_queue.py:16–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 pass
15
16 async def get_all_data(self):
17 async with self.lock:
18 self.event.clear()
19 ans = self.datas
20 self.datas = []
21 return ans
22
23 async def put(self, obj):
24 async with self.lock:

Callers 2

wait_to_get_all_dataMethod · 0.95
_pd_handle_taskFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected