althaf
08/21/2022, 4:32 AMJavier
08/21/2022, 10:57 AMrepeatOnLifecycle launch its own coroutinesalthaf
08/21/2022, 4:30 PMalthaf
08/21/2022, 4:31 PMagrosner
08/21/2022, 5:02 PMagrosner
08/21/2022, 5:02 PMgian
08/22/2022, 9:05 AMrepeatOnLifecycle, for every flow you can do flow.onEach { do something }.launchIn(this) (where this is the coroutine scope).
It is equivalent to launch { flow.collect { do something } }