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

Method cb

tests/test_streams.py:54–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 wait_task = asyncio.Task(stream.wait_eof(), loop=self.loop)
53
54 def cb():
55 yield from asyncio.sleep(0.1, loop=self.loop)
56 stream.feed_eof()
57
58 asyncio.Task(cb(), loop=self.loop)
59 self.loop.run_until_complete(wait_task)

Callers

nothing calls this directly

Calls 2

feed_eofMethod · 0.45
feed_dataMethod · 0.45

Tested by

no test coverage detected