Created
June 21, 2019 23:23
-
-
Save RBusarow/1aade8c4447607f0abe3a75fd79aacbf 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
val scope : CoroutineScope = MainScope() | |
val parentJob = scope.launch { | |
val jobA = scope.launch { | |
val jobC = scope.launch { delayForever() } | |
val jobD = scope.launch { delayForever() } | |
delayForever() | |
} | |
val jobB = scope.launch { delayForever() } | |
delayForever() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment