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.

Constructors

Link copied to clipboard
constructor(userdata: Userdata, error: Errno, type: Eventtype, fdReadwrite: EventFdReadwrite)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard