Void Event Block
class VoidEventBlock<T : Any, P, ModelStates : Enum<*>, C : KlerkContext, V>(name: String, type: BlockType) : Block<T, ModelStates, C, V>
Functions
Link copied to clipboard
Link copied to clipboard
fun createModel(initialState: ModelStates, function: (args: ArgForVoidEvent<T, P, C, V>) -> T, onCondition: (args: ArgForVoidEvent<T, P, C, V>) -> Boolean? = null)
Link copied to clipboard
fun <T : Any, P, ModelStates : Enum<*>, C : KlerkContext, V> Block.VoidEventBlock<T, P, ModelStates, C, V>.sendEmail(function: (ArgForVoidEvent<T, P, C, V>) -> PostmarkEmail)
Sends an email using PostmarkEmailService