Skip to content

Instantly share code, notes, and snippets.

@jorgecasariego
Created February 18, 2020 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorgecasariego/9d5f9a1abd2e580e210d21d87b4563ff to your computer and use it in GitHub Desktop.
Save jorgecasariego/9d5f9a1abd2e580e210d21d87b4563ff to your computer and use it in GitHub Desktop.
fun main() {
println("Start")
// Start a coroutine
GlobalScope.launch {
delay(1000L)
println("Hello")
}
Thread.sleep(2000L)
println("Done")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment