https://kotlinlang.org logo
#coroutines
Title
# coroutines
l

Lilly

03/28/2021, 9:28 PM
Hi, I have a
coroutineScope
and within this scope I want to cancel it. How can I prevent cancel cooperation of this scope, so that cancellation isn't propagated?
n

Natsuki(开元米粉实力代购)

03/29/2021, 2:20 AM
naive way : catch
CancellationException
around
coroutineScope
?
l

Lilly

03/29/2021, 8:54 AM
Thanks @Natsuki(开元米粉实力代购)
3 Views