restioson
06/21/2017, 10:49 AMrestioson
06/21/2017, 10:49 AMrestioson
06/21/2017, 10:51 AMrestioson
06/21/2017, 10:51 AMelizarov
06/21/2017, 10:51 AMCOROUTINE_SUSPENDED
via internal enum class. Java enums are typically recognized by serialization frameworks and that would reduce the need for doing those kind of hacks that you did.alucard
06/21/2017, 10:52 AMelizarov
06/21/2017, 10:52 AMrestioson
06/21/2017, 10:53 AMalucard
06/21/2017, 10:53 AMrestioson
06/21/2017, 10:54 AMelizarov
06/21/2017, 10:57 AMBroadcastChannel
is transmitting sent items only to consumers that were already there at the time when the send
if invoked. You need to open
all the subscriptions you need first, then start sending the data to the broadcast channel if you want to get it all.alucard
06/21/2017, 11:05 AMalucard
06/21/2017, 11:06 AMelizarov
06/21/2017, 11:10 AMalucard
06/21/2017, 11:18 AMrestioson
06/21/2017, 11:48 AMrestioson
06/21/2017, 11:48 AMrestioson
06/21/2017, 11:49 AMrestioson
06/21/2017, 11:51 AMstart
and then again with deser
elizarov
06/21/2017, 11:51 AMisNumber
, then consume all items that isSampleMessage
. You should never do anything in the second consumeEach
invocation — getting there would mean the channel is already closed.restioson
06/21/2017, 11:54 AMrestioson
06/21/2017, 11:56 AMwhile
looprestioson
06/21/2017, 11:57 AMrestioson
06/21/2017, 11:57 AMrestioson
06/21/2017, 12:00 PMorangy
elizarov
06/21/2017, 12:06 PMelizarov
06/21/2017, 12:07 PMrestioson
06/21/2017, 12:08 PM