EventMatcher

interface EventMatcher<E : Event>

Adds an ability to select who Transition matches Event subclass

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val eventClass: KClass<E>

Functions

Link copied to clipboard
abstract suspend fun match(value: Event): Boolean