Event-observer-state
Toggle table of contents
3.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Event-observer-state
Event-observer-state
/
br.com.arch.toolkit.eventObserver.state
/
ViewModelState
/
Regular
/
bindReducing
bind
Reducing
fun
<
A
>
bindReducing
(
source
:
Flow
<
A
>
,
onError
:
(
Throwable
)
->
Unit
=
{ throw it }
,
reduce
:
suspend
(
T
?
,
A
)
->
T
)
:
Job
(
source
)
Accumulates, merges or replaces data using a consumer-defined reducer.