miqbaldc
06/16/2021, 8:29 AMmiqbaldc
06/16/2021, 8:32 AMHeader 11. list item 1 2. … 3. list item n
Header 21. list item 1 2. … 3. list item n
Header 31. list item 1 2. … 3. list item n fetching this different list in parallel, also has it’s side effect for each service, e.g: empty state, loading animation, loaded animation
Mikolaj Leszczynski
06/16/2021, 8:40 AMcollect
will suspend until the relevant stream completes.
This means that unless you launch
a separate coroutine for each collect
call it won’t get past the first collect
Mikolaj Leszczynski
06/16/2021, 8:41 AMDispatchers.Default
too so as not to overload the orbit event loopMikolaj Leszczynski
06/16/2021, 8:43 AMcoroutineScope { }
can be used in a suspending block for parallel decompositionMikolaj Leszczynski
06/16/2021, 8:44 AMMikolaj Leszczynski
06/16/2021, 8:44 AMMikolaj Leszczynski
06/16/2021, 8:45 AMmiqbaldc
06/16/2021, 8:49 AMmiqbaldc
06/17/2021, 1:59 PM