Why your class probably shouldn’t implement CoroutineScope
Published in
3 min readJun 9, 2019
Prior to the introduction of CoroutineScope
and Structured Concurrency, when we wanted to create a coroutine in a class we would do something like this:
class SomeClass { fun fireAndForget() {
launch {
...
}
}
}
When the coroutines team introduced Structured Concurrency, they changed the…