gildor
06/11/2018, 8:48 AMCancallableContunuationImpl
, AbstractChannel.ReceiveHasNext
, ChildContinuation
, ConflatedBroadcastChannel.State
and lambda of ReceiveChannel.consume
.
Isn’t this too much? It’s fine for many cases. But if you want to work with UI drawing events (60 per second in case of Android) it looks like significant overheadelizarov
06/11/2018, 8:50 AMgildor
06/11/2018, 8:52 AMlaunch
with dispatcher) to events on another threadelizarov
06/11/2018, 8:55 AMgildor
06/11/2018, 8:56 AMelizarov
06/11/2018, 8:56 AMgildor
06/11/2018, 8:58 AMelizarov
06/11/2018, 8:58 AMgildor
06/11/2018, 8:58 AMConflatedBraodcastChannel
provides pretty simple API to convert callbacks to stream of events.
Looking forward to cold streamselizarov
06/11/2018, 9:03 AMConflatedBroadcastChannel
, in particular, can be optimized for allocation-free work. Needs some thought.gildor
06/11/2018, 9:03 AMelizarov
06/11/2018, 9:05 AMgildor
06/11/2018, 9:09 AM