tseisel
05/22/2019, 9:03 PMFlow
have a corresponding select
clause, and if it doesn't, is it planned ?octylFractal
05/22/2019, 9:24 PMselect
on? I suppose single
might make sense, but it's still an extension based on collect
, so collect
would need to be selectable, but collect
doesn't really seem like a good idea for ittseisel
05/22/2019, 9:40 PMReceiveChannel
of an actor
and the items emitted by a Flow
. Should I convert my Flow
to a ReceiveChannel
with Flow.produceIn
in order to use the onReceive
clause ?octylFractal
05/22/2019, 9:49 PMselect
in general doesn't make sense for Flow -- it's a cold stream, so it won't start until you consume it, but you won't start consuming it until you call collect
, and if you select
, you're technically not consuming it, so it will never be startedgildor
05/22/2019, 11:26 PM