iamthevoid
04/06/2022, 9:43 AMFlow
is stream and shared (state) flow
is hot stream can i somehow sent completion
event through?gildor
04/06/2022, 9:48 AMCasey Brooks
04/06/2022, 3:32 PM.takeWhile { }
or .transformWhile { }
is useful for exactly this purpose, emitting values downstream while some condition remains true. You can use it to check that the upstream values are not the “completion token”.gildor
04/06/2022, 3:34 PM