handleAction

fun handleAction(action: A)(source)

Handles a user action and updates the state accordingly using the provided onAction method.

Parameters

action

The user action to handle.