post Returnable
public final static R postReturnable<T extends ReturnableEvent<R>, R extends Any>(T event, EventProcessingType processingType)
Posts an event to be handled synchronously by all registered hooks for the event's class and returns the result.
Return
The result of the event after processing.
Parameters
T
The type of the event.
R
The type of the return value.
event
The event to post.
processing Type
The type of processing (Sync, Async, HandlerAsync).