DispatcherProvider

data class DispatcherProvider(val Main: CoroutineDispatcher = Dispatchers.Main, val IO: CoroutineDispatcher = Dispatchers.IO, val Default: CoroutineDispatcher = Dispatchers.Default)

Convenience class to choose the type Coroutine context

Constructors

Link copied to clipboard
constructor(Main: CoroutineDispatcher = Dispatchers.Main, IO: CoroutineDispatcher = Dispatchers.IO, Default: CoroutineDispatcher = Dispatchers.Default)

Properties

Link copied to clipboard
val Default: CoroutineDispatcher
Link copied to clipboard
val IO: CoroutineDispatcher
Link copied to clipboard
val Main: CoroutineDispatcher