ReturnableHandler

public interface ReturnableHandler<T extends ReturnableEvent<R>, R>

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
public abstract R handle(T event)
Handles the given returnable event and returns a result.