InteractionResult

sealed interface InteractionResult

The result of an interaction attempt.

Inheritors

Types

Link copied to clipboard
data object Fail : InteractionResult

The interaction failed, stop processing further handlers.

Link copied to clipboard
data object Pass : InteractionResult

No interaction occurred, pass to the next handler.

Link copied to clipboard
data class Success(val swing: Boolean = false, val action: ItemAction? = null) : InteractionResult

An interaction completed successfully, stop processing further handlers.