childReactiveState

Uses childReactiveStateBase and emits events from the child to the parent ReactiveState.


fun <E : ErrorEvents, P : ReactiveState<*>, RS : ReactiveState<E>> P.childReactiveState(eventHandler: E, block: () -> RS): ReadOnlyProperty<Any?, RS>

Uses childReactiveStateBase and emits events from the child to the given eventHandler.