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

Method add_writer

Lib/asyncio/selector_events.py:361–364  ·  view source on GitHub ↗

Add a writer callback..

(self, fd, callback, *args)

Source from the content-addressed store, hash-verified

359 return self._remove_reader(fd)
360
361 def add_writer(self, fd, callback, *args):
362 """Add a writer callback.."""
363 self._ensure_fd_no_transport(fd)
364 self._add_writer(fd, callback, *args)
365
366 def remove_writer(self, fd):
367 """Remove a writer callback."""

Callers

nothing calls this directly

Calls 2

_add_writerMethod · 0.95

Tested by

no test coverage detected