TransitionParams

data class TransitionParams<E : Event>

Properties

Link copied to clipboard
val argument: Any? = null

This parameter may be used to pass arbitrary data with the event, so there is no need to define Event subclasses every time. Subclassing should be preferred if the event always contains data of some type.

Link copied to clipboard
Link copied to clipboard
val event: E
Link copied to clipboard
Link copied to clipboard

Convenience property for unwrapping original argument. If the event is not WrappedEvent this is same as TransitionParams.argument property

Link copied to clipboard

Convenience property for unwrapping original event. If the event is not WrappedEvent this is same as TransitionParams.event property