MCPcopy Index your code
hub / github.com/RustPython/RustPython / resume_writing

Method resume_writing

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

Source from the content-addressed store, hash-verified

248 self._write_ready_fut = self._transport._loop.create_future()
249
250 def resume_writing(self):
251 if self._write_ready_fut is None:
252 return
253 self._write_ready_fut.set_result(False)
254 self._write_ready_fut = None
255
256 def data_received(self, data):
257 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