Last active
July 2, 2018 12:05
-
-
Save tiwiz/63a0c6f9e104d90eb9808651d3c4d75c to your computer and use it in GitHub Desktop.
Coroutines Introduction
This file contains hidden or 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
launch { | |
delay(1000L) | |
println("World!") | |
} | |
println("Hello,") | |
Thread.sleep(2000L) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment