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

Method add_writer

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

Add a writer callback..

(self, fd, callback, *args)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_add_writerMethod · 0.95

Tested by

no test coverage detected