defineAction

fun defineAction(actionKey: ActionKey, action: (Memento) -> Unit)

Bind an action key to an action.

Parameters

actionKey

The action key.

action

The action to perform.