Tin mới
select — Waiting for I/O completion
signal — Set handlers for asynchronous events
Networking and Interprocess Communication
This module does not work or is not available on WebAssembly. See WebAssembly platforms for more information.
A SelectorKey is a namedtuple used to associate a file object to its underlying file descriptor, selected event mask and attached data. It is returned by several BaseSelector methods.
Return a mapping of file objects to selector keys.