Race Conditions and Dependency Instantiation Order in provideService vs provideLayer

Is there anything one should be aware of between provideService and provideLayer when providing services, related to race conditions / order in which the dependencies are instantiated? I’m having an issue in which the injected dependency behaves as expected when using provideService, but doesn’t when using provideLayer. Hard to explain here but is there something one should be aware of? I can try to explain in other terms.
Was this page helpful?