Multiple improvements to selectors.
* Added ``getFd`` procedure for retrieving the underlying selector's FD. * Selectors module's procedures now accept an ``int`` as well as a ``SocketHandle``. * ReadyKey now contains the error code for Event.Error events.
This commit is contained in:
parent
3db460f504
commit
d6870f2e89
6 changed files with 62 additions and 21 deletions
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
### Library changes
|
||||
|
||||
- The `ReadyKey` type in the selectors module now contains an ``errorCode``
|
||||
field to help distinguish between ``Event.Error`` events.
|
||||
- The `AsyncFD` type now reflects the fact that the underlying FD is registered
|
||||
in the async dispatcher.
|
||||
- The overloading rules changed slightly so that constrained generics are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue