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

Method _add_reader

Lib/asyncio/unix_events.py:518–521  ·  view source on GitHub ↗
(self, fd, callback)

Source from the content-addressed store, hash-verified

516 waiter, None)
517
518 def _add_reader(self, fd, callback):
519 if not self.is_reading():
520 return
521 self._loop._add_reader(fd, callback)
522
523 def is_reading(self):
524 return not self._paused and not self._closing

Callers 2

resume_readingMethod · 0.45
add_child_handlerMethod · 0.45

Calls 1

is_readingMethod · 0.95

Tested by

no test coverage detected