giso
08/12/2019, 9:05 AMDico
08/12/2019, 9:26 AMchan.value to get the most recent value. Conflated channel sends always succeed, therefore you can use offer instead of sendDico
08/12/2019, 9:28 AMvar value
get() = chan.value
set(value) { chan.offer(value) }Dico
08/12/2019, 9:28 AMchan.offer(initialValue) in an init blockDico
08/12/2019, 9:29 AMgiso
08/12/2019, 10:44 AMgildor
08/12/2019, 1:03 PM