arrow-ui-data / arrow.ui / Store

Store

@higherkind data class Store<S, V>

Constructors

<init> Store(state: S, render: (S) -> V)

Properties

render val render: (S) -> V
state val state: S

Functions

coflatMap fun <A> coflatMap(f: (Store<S, V>) -> A): Store<S, A>
duplicate fun duplicate(): Store<S, Store<S, V>>
extract fun extract(): V
map fun <A> map(f: (V) -> A): Store<S, A>
move fun move(newState: S): Store<S, V>

Do you like Arrow?

Arrow Org
<