Outcome

sealed interface Outcome<out State>

Generic outcome of applying a Move to a State — mirrors an engine's own apply-outcome type.

Inheritors

Types

Link copied to clipboard
data class Accepted<out State>(val state: State) : Outcome<State>
Link copied to clipboard
data class Rejected(val reason: String) : Outcome<Nothing>