Last active
March 26, 2020 15:01
-
-
Save garodrigues/d99ebb910b7d8c08f99d9c7c548c8cbd 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
private suspend fun getWeatherDataByCity(cityName: String) { | |
CoroutineScope(Dispatchers.IO).launch { | |
// do what you need here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment