provideDefaultCoroutineScope

@Provides
fun provideDefaultCoroutineScope(dispatchersProvider: DispatchersProvider): CoroutineScope

Provides the default CoroutineScope using the DispatchersProvider.

Example usage:

class MyClass @Inject constructor(@Dispatching.Default private val defaultScope: CoroutineScope)

Return

The default CoroutineScope.

Parameters

dispatchersProvider

The DispatchersProvider instance.