ArgForVoidEvent

data class ArgForVoidEvent<T : Any, P, C : KlerkContext, V>(val command: Command<T, P>, val context: C, val reader: Reader<C, V>)

Constructors

Link copied to clipboard
constructor(command: Command<T, P>, context: C, reader: Reader<C, V>)

Properties

Link copied to clipboard
Link copied to clipboard
val context: C
Link copied to clipboard
val reader: Reader<C, V>

Note that the reader will give you access to the data as it was before the current event was executed. I.e. if the current event has modified data in a previous step, the updated data will not be accessible through the reader.