Created
March 25, 2024 19:20
-
-
Save ahinchman1/103106ca6b2055387dd42de8bd73ccf2 to your computer and use it in GitHub Desktop.
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
fun main() = runBlocking { | |
println("runBlocking main") | |
val scope = CoroutineScope(Job()) | |
println("scope created. Create job...") | |
val job = scope.launch { | |
... | |
} | |
println("Start job") | |
job.join() | |
println("Program ends") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment