VoidState

class VoidState<T : Any, ModelStates : Enum<*>, C : KlerkContext, V>(name: String, modelName: String) : State<T, ModelStates, C, V>

Constructors

Link copied to clipboard
constructor(name: String, modelName: String)

Properties

Link copied to clipboard
val id: StateId

Functions

Link copied to clipboard
fun <P> onEvent(event: VoidEvent<T, P>, init: Block.VoidEventBlock<T, P, ModelStates, C, V>.() -> Unit)