interface anymore. unfortunately it doesn't say anything about the WHY despite using the builder function would be more straightforward. why is it more straightforward?
n
Nick Allen
01/04/2022, 10:34 PM
Unless external code launching coroutines is part of your use case, you probably don't want to implement
CoroutineScope
.
Do you really want people to do this:
Copy code
val foo = MyClassThatUsesCoroutinesInside()
foo.launch { ... }