provideIODispatcher

@Provides
fun provideIODispatcher(dispatchersProvider: DispatchersProvider): CoroutineDispatcher

Provides the IO CoroutineDispatcher using the DispatchersProvider.

Example usage:

class MyClass @Inject constructor(@Dispatching.IO private val ioDispatcher: CoroutineDispatcher)

Return

The IO CoroutineDispatcher.

Parameters

dispatchersProvider

The DispatchersProvider instance.