ListenerAction

fun interface ListenerAction<T : Event>

A handler that handles events. Java does SAM conversion.

Functions

execute
Link copied to clipboard
abstract fun execute(event: T)

An method which replacing kotlin apply block.