sok / Sok.Selector / Interests
enum class Interests (source)
Platform and version requirements: Native
Enum representing the possible interests of a SelectionKey
| OP_READ | Equivalent to linux POLLIN event, fired if there is data to read or a socket to accept |
| OP_WRITE | Equivalent to linux POLLOUT event, fired when the socket is readable |
| interest | val interest: Shortraw interest value defined in poll.h |