kvision / pl.treksoft.kvision.state / stateUpdate

stateUpdate

fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT>

DSL builder extension function for updateable redux content.

It takes the same parameters as the constructor of the built component.