Event
data class Event(val userdata: Userdata, val error: Errno, val type: Eventtype, val fdReadwrite: EventFdReadwrite)(source)
An event that occurred.
Parameters
userdata
User-provided value that got attached to subscription::userdata
.
error
(field $error $errno)
type
The type of event that occured
fdReadwrite
The contents of the event, if it is an eventtype::fd_read
or eventtype::fd_write
. eventtype::clock
events ignore this field.