Skip to content
loading...

re: Angular: How to easily display loading indicators VIEW POST

FULL DISCUSSION
 

Very nice I'm using it and it's sweet.

BTW, it appears that an observable returned from fn, as passed in isLoadingService.add(fn), must be asynchronous i.e. in a fail mode I was passing 'of([])' instead of an httpClient observable and it didn't remove the loading indicator, whereas when I pass in 'scheduled(of([]), asapScheduler' it did.

 
code of conduct - report abuse