main

open val main: CoroutineDispatcher

CoroutineDispatcher which is confined to the "main" thread.

Corresponds to the Dispatchers.Main property in a default implementation.

See also

kotlinx.coroutines.Dispatchers

Sources

Link copied to clipboard