onEvent

fun onEvent(event: MainEvent)