MCPcopy
hub / github.com/benoitc/gunicorn / __anext__

Method __anext__

gunicorn/dirty/client.py:530–538  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

528 return self
529
530 async def __anext__(self):
531 if self._exhausted:
532 raise StopAsyncIteration
533
534 if not self._started:
535 await self._start_request()
536 self._started = True
537
538 return await self._read_next_chunk()
539
540 async def _start_request(self):
541 """Send the initial request to the arbiter."""

Calls 2

_start_requestMethod · 0.95
_read_next_chunkMethod · 0.95