Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/InternLM/lmdeploy
/ wait
Method
wait
lmdeploy/pytorch/engine/engine_loop.py:62–64 ·
view source on GitHub ↗
Wait event.
(self)
Source
from the content-addressed store, hash-verified
60
self.event = asyncio.Event()
61
62
async
def
wait(self):
63
""
"Wait event."
""
64
await self.event.wait()
65
66
def
set(self):
67
""
"Set event."
""
Callers
7
drain_for_sleep
Method · 0.45
_main_loop_try_send_next_inputs
Method · 0.45
main_loop
Method · 0.45
migration_loop
Method · 0.45
async_recv
Method · 0.45
prepare_send
Method · 0.45
sender_wait_loop
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected