Created
October 17, 2018 19:00
-
-
Save mayojava/281c623224c5fe90a08e1182614bc4c7 to your computer and use it in GitHub Desktop.
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
fun main(args: Array<String>) = runBlocking { | |
launch { | |
delay(1_000) | |
println("from launch coroutine body") | |
} | |
println("from runblocking") | |
} | |
from runblocking | |
from launch coroutine body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment