MyNotes
MyNotes copied to clipboard
Dispatcher Dependency
Why is it necessary to provide a dependency for CoroutineDispatcher instances using a DispatchersProvider class, rather than directly inserting the instances into the components that use them?
- You have done this for the centralize management of dispatchers ?
- Can you explain your thought process behind this ?