Alexey V Golubev
11/24/2019, 9:31 AMReceiveChannel
and do something like channel.asFlow().count()
?bohsen
11/25/2019, 7:17 AMReceiveChannel
to the caller, as the ReceiveChannel
is cancellable. I'd rather add a property to the actor:
val count = channel.asFlow().count()
Alexey V Golubev
11/25/2019, 12:09 PM