July 2018
Intermediate to advanced
266 pages
7h 11m
English
The missing part in ResultsCounter is to actually send the updated value using the channel. Let's update the actor to do so:
private val actor = actor<Void?>(context) { for (msg in channel) { counter++ notifications.send(counter) }}
Read now
Unlock full access