onEvent

abstract fun onEvent(event: T)

Called when an event is received.

Parameters

event

The event.