Event
constructor(userdata: Userdata, error: Errno, type: Eventtype, fdReadwrite: EventFdReadwrite)(source)
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.