StoreBuilderScope

The scope for building a Store.

Functions

Link copied to clipboard
abstract fun closure(block: ClosureBuilderScope.() -> Unit)

Provides a block to build DispatchClosure for a Store.

Link copied to clipboard
abstract fun middlewares(block: MiddlewaresBuilderScope<State>.() -> Unit)

Provides a block to configure middlewares pipeline to a Store.

Link copied to clipboard
abstract infix fun State.reducedBy(reducer: Reducer<State>)

Provides an initial state and root reducer for a Store.