Luke
05/31/2022, 2:04 PMcollectLatest
that can be followed by launchIn
instead of wrapping it in a launch
block? For now, I copied the implementation of collectLatest
without the collect
call but I was wondering if something already existed.Joffrey
05/31/2022, 2:07 PMmapLatest
+ launchIn
would doLuke
05/31/2022, 2:18 PMcollectLatest
, at least in Kotlin 1.6.20, is mapLatest(action).buffer(0).collect()
. I copied that and removed the collect. I wanted to know if a stable alternative existed