You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a service factory using APPINITIALIZERS that need initially to load some configuration data using an http call. After configuration data retrieval the proper service instance is registered in the DI.
I am trying to use Effects that need to use that service instance. Do we have any way to wait service initialization? Currently we get an exception on the factory, because configuration data are missing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am having a service factory using APPINITIALIZERS that need initially to load some configuration data using an http call. After configuration data retrieval the proper service instance is registered in the DI.
I am trying to use Effects that need to use that service instance. Do we have any way to wait service initialization? Currently we get an exception on the factory, because configuration data are missing.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions