Searched refs:add_writer (Results 1 – 13 of 13) sorted by relevance
19 * :meth:`loop.add_reader` and :meth:`loop.add_writer`40 * :meth:`loop.add_reader` and :meth:`loop.add_writer` only accept55 * The :meth:`loop.add_reader` and :meth:`loop.add_writer`
210 * - :meth:`loop.add_writer`
746 .. method:: loop.add_writer(fd, callback, \*args)
113 self.loop.add_writer = mock.Mock()161 self.assertRaises(RuntimeError, self.loop.add_writer, fd, callback)303 self.loop.add_writer = mock.Mock()309 callback = self.loop.add_writer.call_args[0][1]310 params = self.loop.add_writer.call_args[0][2:]349 self.loop.add_writer = mock.Mock()353 self.loop.add_writer.call_args[0])361 self.loop.add_writer = mock.Mock()365 self.loop.add_writer.call_args[0])394 self.loop.add_writer = mock.Mock()[all …]
848 self.loop.add_writer(5, tr._write_ready)913 self.loop.add_writer(5, tr._write_ready)923 self.loop.add_writer(5, tr._write_ready)933 self.loop.add_writer(5, tr._write_ready)944 self.loop.add_writer(5, tr._write_ready)956 self.loop.add_writer(5, tr._write_ready)976 self.loop.add_writer(5, tr._write_ready)990 self.loop.add_writer(5, tr._write_ready)1892 self.loop.add_writer(object(), cb)1923 self.loop.add_writer(rsock, cb)[all …]
434 def add_writer(self, fd, callback, *args): member in TestLoop
407 self.loop.add_writer(w.fileno(), writer, data)1780 loop.add_writer(w, callback)1795 loop.add_writer(w, callback)3000 NotImplementedError, loop.add_writer, 1, f)
331 def add_writer(self, fd, callback, *args): member in BaseSelectorEventLoop447 self.add_writer(fd, self._sock_sendall, fut, fd, sock, data)477 self.add_writer(fd, self._sock_connect_cb, fut, sock, address)
365 self.add_writer(fd, self._sock_sendfile_native_impl, fut,405 self.add_writer(fd, self._sock_sendfile_native_impl, fut,
510 def add_writer(self, fd, callback, *args): member in AbstractEventLoop
655 Raise RuntimeError when transport's FD is used with add_reader, add_writer,
1560 Raise RuntimeError when transport's FD is used with add_reader, add_writer,
4662 Raise RuntimeError when transport's FD is used with add_reader, add_writer,