kvision / pl.treksoft.kvision.redux / StateBinding / stateBinding

stateBinding

fun <S : Any, A : RAction, CONT : Container> CONT.stateBinding(store: ReduxStore<S, A>, factory: CONT.(S) -> Unit): StateBinding<S, A, CONT, Unit>

DSL builder extension function.

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