Created
May 13, 2024 09:36
-
-
Save af2905/e12783102fd86e77f78bc6b4711366fd to your computer and use it in GitHub Desktop.
tricky questions_function_code_child_coroutine
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
val myScope: CoroutineScope = CoroutineScope(context = Job()) | |
myScope.launch { | |
delay(500L) | |
println("A") | |
launch { | |
delay(1000L) | |
println("B") | |
} | |
println("С") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment