https://kotlinlang.org logo
#android
Title
# android
b

brookmg

06/25/2022, 9:18 AM
Hey guys, this might be a weird question but is there a way to start a tagged co-routine? To be able to cancel batch of them if a parameter is changed. Is dedicated a job for related tasks the only way to do this?
j

Joffrey

06/25/2022, 9:26 AM
The abstraction to group and cancel coroutines together is a
CoroutineScope
. Launch them in the same scope and then cancel the scope
2 Views