Event object for asynchronous couchbase client
This documents the specific fields in the Event structure. For a more detailed overview of what this is used for, see Couchbase::Client::Async
The Event object is a simple array, and can be accessed by using either the listed index constants (exported by Couchbase::Client::IDXConst) or by using the named accessors.
Accessors are safer and do some basic sanity checking, at the cost of performance.
The file descriptor number for this event.
dup'd file descriptor,
This is mainly for use by event library plugins, but is modified (or rather, deleted) if we detect the file descriptor has changed or otherwise become invalid.
The old event flags before invoking the callback with the new flags
The old state (resumed, active, suspended, etc) of the event, before this callback was invokved
The opaque data to be passed back to us when an event is triggered.
This is for perl-level data. This library does not modify it, so feel free to store whatever you want here.