provideUnconfinedCoroutineScope

@Provides
fun provideUnconfinedCoroutineScope(dispatchersProvider: DispatchersProvider): CoroutineScope

Provides the unconfined CoroutineScope using the DispatchersProvider.

Example usage:

class MyClass @Inject constructor(@Dispatching.Unconfined private val unconfinedScope: CoroutineScope)

Return

The unconfined CoroutineScope.

Parameters

dispatchersProvider

The DispatchersProvider instance.