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

Dominaezzz

12/18/2020, 9:59 PM
Is there a better way to do this
scope + SupervisorJob(scope.coroutineContext.job)
? I just want to create a child coroutine scope.
t

tseisel

12/18/2020, 10:04 PM
If you need a class-local SupervisorScope, then I don't think there is an alternative ... Would be great if there were an extension to create child (Supervisor)Job
z

Zach Klippenstein (he/him) [MOD]

12/18/2020, 10:27 PM
d

Dominaezzz

12/18/2020, 11:05 PM
Just what I was looking for.
2 Views