MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / wait

Method wait

tests/test_dingtalk_adapter.py:47–50  ·  view source on GitHub ↗
(self, timeout: float | None = None)

Source from the content-addressed store, hash-verified

45 self._event.set()
46
47 def wait(self, timeout: float | None = None) -> bool:
48 self.wait_timeout = timeout
49 self.wait_started.set()
50 return self._event.wait(timeout)
51
52 class FailingClient:
53 websocket = None

Callers 15

runMethod · 0.45
_holdingMethod · 0.45
_draft_sender_loopMethod · 0.45
runMethod · 0.45
shutdown_triggerMethod · 0.45
_listen_to_queueMethod · 0.45
handle_retryMethod · 0.45
start_clientMethod · 0.45
_listen_to_queueMethod · 0.45
runMethod · 0.45
shutdown_triggerMethod · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected