mainImmediate

open val mainImmediate: CoroutineDispatcher

CoroutineDispatcher which is confined to the "main" thread with immediate dispatch.

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

See also

kotlinx.coroutines.MainCoroutineDispatcher

Sources

Link copied to clipboard