This message was deleted.
# coroutines
s
This message was deleted.
s
Then you'll have to have the caller provide the CoroutineScope to that class (object) and that class will use to launch, etc. The caller will cancel that provided scope when necessary.
d
There is the
GlobalScope
object available. And you can create yours 🙂
d
Can you share code?
d
object scope : CoroutineScope by MainScope()
d
Was asking the OP