Last active
February 18, 2021 00:47
-
-
Save recheej/e81e946b4222b91472a53ece31f3ff93 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
suspend fun performNetworkequest(){ | |
val response = getResponse('https://blah.com') //suspension point | |
storeResponseInDatabase(response) //suspension point | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment