MCPcopy
hub / github.com/aio-libs/aiohttp / __anext__

Method __anext__

aiohttp/web_ws.py:297–301  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

295
296 @asyncio.coroutine
297 def __anext__(self):
298 msg = yield from self.receive()
299 if msg.tp == MsgType.close:
300 raise StopAsyncIteration # NOQA
301 return msg

Callers

nothing calls this directly

Calls 1

receiveMethod · 0.95

Tested by

no test coverage detected