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

Method _handle_event

tornado/platform/asyncio.py:650–659  ·  view source on GitHub ↗
(
        self,
        fd: _FileDescriptorLike,
        cb_map: Dict[_FileDescriptorLike, Callable],
    )

Source from the content-addressed store, hash-verified

648 self._start_select()
649
650 def _handle_event(
651 self,
652 fd: _FileDescriptorLike,
653 cb_map: Dict[_FileDescriptorLike, Callable],
654 ) -> None:
655 try:
656 callback = cb_map[fd]
657 except KeyError:
658 return
659 callback()
660
661 def add_reader(
662 self, fd: _FileDescriptorLike, callback: Callable[..., None], *args: Any

Callers 1

_handle_selectMethod · 0.95

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected