Created
May 2, 2020 17:20
-
-
Save pranay1494/5506f41509db05bb1eff7599508959c0 to your computer and use it in GitHub Desktop.
This file contains 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
package com.example.coroutinesdemo.base | |
import kotlinx.coroutines.CoroutineDispatcher | |
import kotlinx.coroutines.Dispatchers | |
data class CoroutineDispatcherProvider constructor( | |
val main: CoroutineDispatcher = Dispatchers.Main, | |
val default: CoroutineDispatcher = Dispatchers.Default, | |
val io: CoroutineDispatcher = Dispatchers.IO | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment