Created
January 11, 2020 23:58
-
-
Save RBusarow/3980456d24a44f8442988ddb26bb875e to your computer and use it in GitHub Desktop.
CoroutineScope implementations
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
class MyCoroutineScope : CoroutineScope { | |
override val coroutineContext = Job() + Dispatchers.Main | |
} | |
val someScope = CoroutineScope(Job() + Dispatchers.IO) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment