MCPcopy Index your code
hub / github.com/python/cpython / cb

Method cb

Lib/test/test_asyncio/test_streams.py:150–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 read_task = self.loop.create_task(stream.read(30))
149
150 def cb():
151 stream.feed_data(self.DATA)
152 self.loop.call_soon(cb)
153
154 data = self.loop.run_until_complete(read_task)

Callers 1

buffer_updatedMethod · 0.45

Calls 2

feed_dataMethod · 0.80
feed_eofMethod · 0.80

Tested by

no test coverage detected