Last active
July 31, 2023 17:23
-
-
Save adhil-rahiman/534efe6641e12539dd28f44a7398746a to your computer and use it in GitHub Desktop.
Custom CoroutineScope
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 CustomCoroutineScope() : CoroutineScope { | |
override val coroutineContext: CoroutineContext = Job() + Dispatchers.Main | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment