DispatcherProvider

Coroutine dispatchers supplied by the host or by tests to control execution contexts.

Inheritors

Properties

Link copied to clipboard
abstract val default: CoroutineDispatcher

Dispatcher for CPU-intensive work.

Link copied to clipboard
abstract val io: CoroutineDispatcher

Dispatcher for IO-bound tasks such as network or disk operations.

Link copied to clipboard
abstract val main: CoroutineDispatcher

Dispatcher for work on the main thread.

Link copied to clipboard
abstract val unconfined: CoroutineDispatcher

Dispatcher that is not confined to any specific thread.