updateStateLazy



fun updateStateLazy(stateUpdate: StateContainer.StateUpdate, reference: Class<out Component>)

Variant of updateStateLazy that asserts the update is performed with the ComponentContext of reference — the component that owns the state. Generated by the Spec annotation processor for lazy state updates; see assertValidStateUpdateContext.