MCPcopy
hub / github.com/nonebot/nonebot2 / receive

Method receive

tests/test_driver.py:696–697  ·  view source on GitHub ↗
(self, timeout: float | None = None)

Source from the content-addressed store, hash-verified

694 return True
695
696 async def receive(self, timeout: float | None = None) -> WSMessage: # noqa: ASYNC109
697 return WSMessage(type=WSMsgType[msg_type], data=None, extra=None)
698
699 async with ClientSession() as session:
700 ws = AiohttpWebSocket(

Callers 5

_handle_wsFunction · 0.45
background_taskFunction · 0.45
test_websocket_clientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected