MCPcopy
hub / github.com/tornadoweb/tornado / update_handler

Method update_handler

tornado/ioloop.py:423–430  ·  view source on GitHub ↗

Changes the events we listen for ``fd``. .. versionchanged:: 4.0 Added the ability to pass file-like objects in addition to raw file descriptors.

(self, fd: Union[int, _Selectable], events: int)

Source from the content-addressed store, hash-verified

421 raise NotImplementedError()
422
423 def update_handler(self, fd: Union[int, _Selectable], events: int) -> None:
424 """Changes the events we listen for ``fd``.
425
426 .. versionchanged:: 4.0
427 Added the ability to pass file-like objects in addition to
428 raw file descriptors.
429 """
430 raise NotImplementedError()
431
432 def remove_handler(self, fd: Union[int, _Selectable]) -> None:
433 """Stop listening for events on ``fd``.

Callers 2

_handle_eventsMethod · 0.45
_add_io_stateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected