provideIOCoroutineScope

@Provides
fun provideIOCoroutineScope(dispatchersProvider: DispatchersProvider): CoroutineScope

Provides the IO CoroutineScope using the DispatchersProvider.

Example usage:

class MyClass @Inject constructor(@Dispatching.IO private val ioScope: CoroutineScope)

Return

The IO CoroutineScope.

Parameters

dispatchersProvider

The DispatchersProvider instance.