class EventHandler::Wrapper(T)
- EventHandler::Wrapper(T)
- Reference
- Object
Overview
Generic class wrapping each installed handler.
This class is generally not used directly, but is implicitly created and returned in response to on()
.
It is also sent as an argument to emitted AddHandlerEvent
and RemoveHandlerEvent
events.
It holds settings associated with each installed handler; its values for once, async, and at (the initial insertion position in the list of handlers).
at value is informational. Probably best use is to check for values of 0 or -1, indicating the handler's insertion at the beginning or end of list respectively.