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

Method _add_reader

Lib/asyncio/selector_events.py:926–929  ·  view source on GitHub ↗
(self, fd, callback, *args)

Source from the content-addressed store, hash-verified

924 return self._buffer_size
925
926 def _add_reader(self, fd, callback, *args):
927 if not self.is_reading():
928 return
929 self._loop._add_reader(fd, callback, *args, context=self._context)
930
931 def _add_writer(self, fd, callback, *args):
932 self._loop._add_writer(fd, callback, *args, context=self._context)

Callers 1

resume_readingMethod · 0.95

Calls 1

is_readingMethod · 0.95

Tested by

no test coverage detected