StylishReducer

fun interface StylishReducer<S, A>

Framework-neutral reducer contract retained in the root artifact for source and binary compatibility.

Inheritors

Functions

Link copied to clipboard
abstract fun reduce(state: S, action: A): S

Returns the next state for action without mutating state.