Get rid of add_connector(). The code will follow suit soon.
This commit is contained in:
parent
aaf02428db
commit
40139af383
|
@ -399,13 +399,6 @@ i.e. no disk files.
|
|||
- ``remove_writer(fd)``. This is to ``add_writer()`` as
|
||||
``remove_reader()`` is to ``add_reader()``.
|
||||
|
||||
- ``add_connector(fd, callback, *args)``. Like ``add_writer()`` but
|
||||
meant to wait for ``connect()`` operations, which on some platforms
|
||||
require different handling (e.g. ``WSAPoll()`` on Windows).
|
||||
|
||||
- ``remove_connector(fd)``. This is to ``remove_writer()`` as
|
||||
``add_connector()`` is to ``add_writer()``.
|
||||
|
||||
TBD: What about multiple callbacks per fd? The current semantics is
|
||||
that ``add_reader()/add_writer()`` replace a previously registered
|
||||
callback. Change this to raise an exception if a callback is already
|
||||
|
|
Loading…
Reference in New Issue