provideDefaultDispatcher

@Provides
fun provideDefaultDispatcher(dispatchersProvider: DispatchersProvider): CoroutineDispatcher

Provides the default CoroutineDispatcher using the DispatchersProvider.

Example usage:

class MyClass @Inject constructor(@Dispatching.Default private val defaultDispatcher: CoroutineDispatcher)

Return

The default CoroutineDispatcher.

Parameters

dispatchersProvider

The DispatchersProvider instance.