Created
February 19, 2020 00:46
-
-
Save jorgecasariego/6428136a73f30409ab4c1b962eb09e35 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
fun main() = runBlocking { | |
println("Start") | |
// Start a coroutine (Child coroutine of runBlocking) | |
launch { // or `this.launch`. | |
delay(1000L) | |
println("Hello") | |
} | |
println("Done") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment