provideCoroutineScope

@Provides
fun provideCoroutineScope(): CoroutineScope

Provides the GlobalScope to coroutines that need to be executed outside the lifecycle of any specific instance. Use with caution, as coroutines launched with GlobalScope can be difficult to cancel and may lead to memory leaks if not properly handled. Consider using a more specific coroutine scope whenever possible.

Return

the GlobalScope