updateStateWithTransition



fun updateStateWithTransition(stateUpdate: StateContainer.StateUpdate, attribution: String, reference: Class<out Component>)

Variant of updateStateWithTransition that asserts the update is performed with the ComponentContext of reference — the component that owns the state. Generated by the Spec annotation processor for @OnUpdateStateWithTransition methods.