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

Method _feed_data

aiohttp/parsers.py:346–353  ·  view source on GitHub ↗
(helper)

Source from the content-addressed store, hash-verified

344
345 @staticmethod
346 def _feed_data(helper):
347 while True:
348 chunk = yield
349 if chunk:
350 helper.data.extend(chunk)
351
352 if helper.exception:
353 raise helper.exception
354
355 def feed_data(self, data):
356 if not self._helper.exception:

Callers 1

__init__Method · 0.95

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected