Alderson Elliot
02/20/2022, 8:34 AMSam
02/20/2022, 8:40 AMpipe
is used to avoid nesting lots of operators. Kotlin uses extension functions for Flow operators, which solves the same problem, so there's no need for a pipe
equivalent.Sam
02/20/2022, 8:41 AMop4()(op3()(op2()(op1()(obs))))
Sam
02/20/2022, 8:42 AMflow.op1().op2().op3().op4()
Alderson Elliot
02/20/2022, 8:43 AMsample
in kotlin FlowSam
02/20/2022, 8:44 AMSam
02/20/2022, 8:44 AMAlderson Elliot
02/20/2022, 8:44 AMSam
02/20/2022, 8:46 AMsample
by using combine
or maybe combineLatest
Alderson Elliot
02/20/2022, 8:47 AMAlderson Elliot
02/20/2022, 9:21 AM