What's the difference between coroutineScope and supervisorScope? Choose the correct options:
Structured Concurrency & Cancellation
Difference between types of scopes
Report a typo
Choose one or more options for each row
| coroutineScope | supervisorScope | |
|---|---|---|
| If a child fails, it will affect the parent | ||
The launch coroutine builder returns a Job object | ||
We can use join() to wait for a job to finish |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.