providesMainDispatcher

@Provides
fun providesMainDispatcher(): CoroutineDispatcher

Provides the main coroutine dispatcher, which is used for executing tasks on the main/UI thread.

Return

The main coroutine dispatcher.