Reduction

data class Reduction<S : State, A : Action>

The result of a Reducer.reduce call. Consists of:

Reactions can be:

Parameters

S

The type of State.

A

The type of Action.

Constructors

Link copied to clipboard
constructor(state: S, vararg reactions: Reaction<A>?)

Properties

Link copied to clipboard

The list of Reactions the Store should process after the state update.

Link copied to clipboard
val state: S

The new state produced by the reducer.