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

Method pause_reading

Lib/asyncio/sslproto.py:130–136  ·  view source on GitHub ↗

Pause the receiving end. No data will be passed to the protocol's data_received() method until resume_reading() is called.

(self)

Source from the content-addressed store, hash-verified

128 return not self._ssl_protocol._app_reading_paused
129
130 def pause_reading(self):
131 """Pause the receiving end.
132
133 No data will be passed to the protocol's data_received()
134 method until resume_reading() is called.
135 """
136 self._ssl_protocol._pause_reading()
137
138 def resume_reading(self):
139 """Resume the receiving end.

Callers 1

_control_ssl_readingMethod · 0.45

Calls 1

_pause_readingMethod · 0.80

Tested by

no test coverage detected