DefaultDispatcherProvider

Production DispatcherProvider implementation that delegates to the real Dispatchers.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun default(): ERROR CLASS: Symbol not found for CoroutineDispatcher

Returns the Dispatchers.Default dispatcher for CPU-intensive work.

Link copied to clipboard
open fun io(): ERROR CLASS: Symbol not found for CoroutineDispatcher

Returns the Dispatchers.IO dispatcher for I/O-bound work.

Link copied to clipboard
open fun main(): ERROR CLASS: Symbol not found for CoroutineDispatcher

Returns the Dispatchers.Main dispatcher for UI-thread work.

Link copied to clipboard
open fun unconfined(): ERROR CLASS: Symbol not found for CoroutineDispatcher

Returns the Dispatchers.Unconfined dispatcher that is not confined to any thread.