CorrespondingEventsFunction

A corresponding events function that acts as a normal Function but ensures a single event type in the generic and tightens the possible exception thrown to OutsideScopeException.

Parameters

<E>

the event type.

Functions

Link copied to clipboard
abstract fun apply(event: E): E
Given an event event, returns the next corresponding event that this lifecycle should dispose on.