provideMainDispatcher
Provides the main CoroutineDispatcher using the DispatchersProvider.
Example usage:
class MyClass @Inject constructor(@Dispatching.Main private val mainDispatcher: CoroutineDispatcher)
Content copied to clipboard
Return
The main CoroutineDispatcher.
Parameters
dispatchersProvider
The DispatchersProvider instance.