ReturnableHandler

Functional interface representing a handler for returnable events of type T.

Parameters

<T>

the type of the returnable event to be handled

<R>

the type of the return value

Functions

Link copied to clipboard
abstract fun handle(event: T): R
Handles the given returnable event and returns a result.