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

Method add_writer

Lib/test/test_asyncio/utils.py:464–467  ·  view source on GitHub ↗

Add a writer callback..

(self, fd, callback, *args)

Source from the content-addressed store, hash-verified

462 return self._remove_reader(fd)
463
464 def add_writer(self, fd, callback, *args):
465 """Add a writer callback.."""
466 self._ensure_fd_no_transport(fd)
467 return self._add_writer(fd, callback, *args)
468
469 def remove_writer(self, fd):
470 """Remove a writer callback."""

Callers 15

test_add_writerMethod · 0.45
test_writer_callbackMethod · 0.45
test_write_bufferMethod · 0.45
test__write_readyMethod · 0.45
test__write_ready_errMethod · 0.45

Calls 2

_add_writerMethod · 0.95

Tested by 15

test_add_writerMethod · 0.36
test_writer_callbackMethod · 0.36
test_write_bufferMethod · 0.36
test__write_readyMethod · 0.36
test__write_ready_errMethod · 0.36