Sam
04/03/2025, 12:00 PMfilter()
makes channelFlow()
an amazing solution for this. https://medium.com/@sam-cooper/custom-kotlin-coroutine-races-77161141b2acSam
04/03/2025, 12:01 PMAlejandro Serrano.Mena
04/03/2025, 12:05 PMSam
04/03/2025, 12:08 PMraceN
function before 👍. Can it express something like raceNotNull
, though? That extra customizability is the reason I really love the channelFlow
method.Sam
04/03/2025, 12:08 PMAlejandro Serrano.Mena
04/03/2025, 12:10 PMCan it express something likeno, but you have given me an idea for a new function 😄, though?raceNotNull
Sam
04/03/2025, 12:10 PMchannelFlow
😉