Skip to content

Instantly share code, notes, and snippets.

@jorgecasariego
Created February 19, 2020 00:43
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/bc65994adf7e25acec2f357ed05a4892 to your computer and use it in GitHub Desktop.
Save jorgecasariego/bc65994adf7e25acec2f357ed05a4892 to your computer and use it in GitHub Desktop.
fun main() = runBlocking {
println("Start")
GlobalScope.launch {
delay(1000L)
println("Hello")
}
delay(2000L)
println("Done")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment