withoutclass
launch { whileSelect { channel.onReceive { when (it) { // do stuff } } } }
elizarov
whileSelect
for (msg in channel)
onClick { channel.send(event) }
A modern programming language that makes developers happier.