<@U0MD6T132> I'd port it to coroutines along these...
# coroutines
e
@alucard I'd port it to coroutines along these lines: https://gist.github.com/elizarov/19652e5d677ec41cecedfa828b89c5f2 Key takeaways: use
produce
to get a simple channel (bonus: simpler, faster + not a single item ever lost), combine all subscribers into one coroutine that is running on UI thread (bonus: simpler + data-race freedom guarantee).