setState

open fun setState(reducer: S.() -> S)

Update current state with reducer.