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

Method resume_writing

Lib/asyncio/base_events.py:252–256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

250 self._write_ready_fut = self._transport._loop.create_future()
251
252 def resume_writing(self):
253 if self._write_ready_fut is None:
254 return
255 self._write_ready_fut.set_result(False)
256 self._write_ready_fut = None
257
258 def data_received(self, data):
259 raise RuntimeError("Invalid state: reading should be paused")

Callers 1

restoreMethod · 0.45

Calls 1

set_resultMethod · 0.45

Tested by

no test coverage detected