Coroutine Dispatchers

Hi

Is there a difference if when doing:

private val scope = parentScope.childScope("MyViewModel",Dispatchers.Default)

and:

private val scope = parentScope.childScope("MyViewModel")

If I am not setting a Dispatcher will the Default be selected anyway?

Thanks

Yes, it will default to Dispatchers.Default for parent scopes injected to a service by DI container.