Marc Knaup
11/03/2022, 8:03 PM.onEach { … }.launchIn(…)
) elements can be missed if they’re emitted shortly after this.ephemient
11/07/2022, 4:58 AMlaunch(start = CoroutineStart.UNDISPATCHED) {
collect { action(it) }
}
Marc Knaup
11/08/2022, 6:17 PMephemient
11/09/2022, 3:22 AMlaunch
doesn't return until collect
suspends, after which it is safe to start emitting. is that not what you want to wait for?chanjungskim
01/07/2023, 3:52 AM