mainDispatcher

fun mainDispatcher(): MainCoroutineDispatcher

Handy equivalent of Dispatchers.TargetMain.

Return

the MainCoroutineDispatcher for the main thread.

See also