MyNotes icon indicating copy to clipboard operation
MyNotes copied to clipboard

Dispatcher Dependency

Open Krish-Parekh opened this issue 2 years ago • 0 comments

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 ?

AppModule

DispatcherProvider

Krish-Parekh avatar Dec 28 '22 02:12 Krish-Parekh