Quiz: Dispatchers and Constructing a Coroutine Scope
Test yourself on what you've learned about dispatchers and constructing a coroutine scope.
1
How can you use limitedParallelism
on dispatchers?
A)
private val dispatcher = Dispatchers.limitedParallelism(5)
B)
public val dispatcher = Dispatchers.Default.limitedParallelism(5)
C)
private val dispatcher = Dispatchers.Default.limitedParallelism(5)
D)
private dispatcher = Dispatchers.Default.limitedParallelism(5)
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.