processEvent

fun <T : Event> processEvent(event: T, processingType: EventProcessingType): T

Processes an event based on the specified processing type.

Return

The processed event.

Parameters

T

The type of the event.

event

The event to process.

processingType

The type of processing (Sync, Async, HandlerAsync).

isDebug

Whether to enable debug logging.