provideUnconfinedDispatcher

@Provides
fun provideUnconfinedDispatcher(dispatchersProvider: DispatchersProvider): CoroutineDispatcher

Provides the unconfined CoroutineDispatcher using the DispatchersProvider.

Example usage:

class MyClass @Inject constructor(@Dispatching.Unconfined private val unconfinedDispatcher: CoroutineDispatcher)

Return

The unconfined CoroutineDispatcher.

Parameters

dispatchersProvider

The DispatchersProvider instance.