Hello All,
In my angular application, I'm having a method(observable) to retrieve the user info on the ap.component and the method is inside a third party library function(which use to authentication purpose), which is promise.
my problem is - while app.component method executing, homepage component's function also get fired, and they're also having the observable method to retrieve data. how can I hold the app.component method put hold until its get completed in this case?
note - forkjoin approach is not suitable for my scenario.
Really appreciate the reply ASAP.
What I have tried:
i want to hold the http request while its completed, may be with the interceptor?