Represents a hook for an event.
The type of event.
An optional condition that must be met for the handler to be executed.
The handler function for the event.
The class of the event handler.
Whether the condition should be ignored.
The priority of the event hook.
An optional timeout for the event hook.