ReturnableEventHook

constructor(handlerClass: IEventHandler, handler: ReturnableHandler<T, R>, ignoresCondition: Boolean, priority: Priority = Priority.NORMAL, condition: () -> Boolean? = null, timeout: Long? = null)

Parameters

T

The type of event.

R

The type of the result returned by the handler.