Action(onSuccess: ActionFunction, onError: ActionErrorFunction, targetState: KClass<out UIState>? = null)
Wrap a function that will set a new state or event, regarding current state We can target a specific State KClass to ensure we want to execute on it
Author
Arnaud Giuliani