Last active
June 24, 2019 12:31
-
-
Save RBusarow/935e6ca767df67afe2ff0d62f58f8aa4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Dispatchers { | |
val Default: CoroutineDispatcher = createDefaultDispatcher() | |
val Main: MainCoroutineDispatcher get() = MainDispatcherLoader.dispatcher | |
val Unconfined: CoroutineDispatcher = kotlinx.coroutines.Unconfined | |
val IO: CoroutineDispatcher = DefaultScheduler.IO | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment