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

Method feed_eof

aiohttp/streams.py:428–435  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

426 waiter.set_result(True)
427
428 def feed_eof(self):
429 self._eof = True
430
431 waiter = self._waiter
432 if waiter is not None:
433 self._waiter = None
434 if not waiter.cancelled():
435 waiter.set_result(False)
436
437 @asyncio.coroutine
438 def read(self):

Callers 15

test_POST_DataQueueMethod · 0.95
test_data_queue_emptyFunction · 0.95
test_data_queue_itemsFunction · 0.95
test_at_eofMethod · 0.45
cbMethod · 0.45
test_wait_eof_eofMethod · 0.45
test_feed_empty_dataMethod · 0.45
test_read_zeroMethod · 0.45
test_readMethod · 0.45
test_read_eof_infinitMethod · 0.45
test_readlineMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_POST_DataQueueMethod · 0.76
test_data_queue_emptyFunction · 0.76
test_data_queue_itemsFunction · 0.76
test_at_eofMethod · 0.36
cbMethod · 0.36
test_wait_eof_eofMethod · 0.36
test_feed_empty_dataMethod · 0.36
test_read_zeroMethod · 0.36
test_readMethod · 0.36
test_read_eof_infinitMethod · 0.36
test_readlineMethod · 0.36