mainDispatcher

abstract val mainDispatcher: CoroutineDispatcher

CoroutineDispatcher for the main thread.

Note: Some processes are safely synchronized with the caller using the main thread. When unit testing, please replace it with a test Dispatcher.