Created
April 5, 2018 16:05
-
-
Save nanlabsweb/acc4d07bfa2437e6c6fadceb0333ead3 to your computer and use it in GitHub Desktop.
Coroutine delay example
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
launch { | |
delay(1000) | |
println("Hello from Kotlin Coroutines!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment