Join Slack
Powered by
Looks like just closing the actor wasn't enough, b...
# coroutines
d
dave08
01/14/2019, 4:19 PM
Looks like just closing the actor wasn't enough, but when I cancel the
coroutineScope { }
that contains it, it works... why should it work that way?
g
groostav
01/14/2019, 6:33 PM
what kind of channel are you using? I would've thought that a Rendezvous channel would give you the behaviour you want
d
dave08
01/14/2019, 10:08 PM
Conflated, since I can delay for backpressure on android notification updates (which can potentially block the whole ui when doing too many...)
d
dekans
01/15/2019, 9:04 AM
You can let the actor cancel the notification as its final action.
3
Views
Open in Slack
Previous
Next