If I need to use an application scope, can I use G...
# coroutines
d
If I need to use an application scope, can I use GlobalScope? Or I need to create my own scope?
z
yes, you can use
GlobalScope
inside app-scoped components or
object
(singletons) for operations that don't require cancellation
e
Agreed. It's arguable what operations would neither require cancellation nor handling of completion (either successful or exceptional). It's somewhat similar to the discussions around the singleton pattern and (in)valid uses for it.
d
thanks folks