MCPcopy 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_sleepMethod · 0.45
main_loopMethod · 0.45
migration_loopMethod · 0.45
async_recvMethod · 0.45
prepare_sendMethod · 0.45
sender_wait_loopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected