NeatStateExtension extension
Neat state context extensions
- on
Methods
-
neatReplace<
S> (S appState) → void - Replace global state with state from parameter
-
neatState<
S> () → NeatState< S> - bloc getter
-
neatStream<
S> () → Stream< S> - Neat state global state stream getter
-
neatSubStream<
S, SubS> (SubS mapper(S state)) → Stream< SubS> - Neat state getter for a substate stream of global state stream with a help of a mapper
-
neatUpdate<
S> (S stateUpdater(S appState)) → void - Update global state with stateUpdater function - most time it's more convenient
-
neatValue<
S> () → S - Neat state global state getter