Feature: Reset every added loading ?
I like to have a method like:
isLoadingService.reset()
to remove every in progress loading on ngOnDestroy() method.
Sometimes I have problems detaching and removing added loadings on the global scope because added loadings are not removed./shrug
I use this approach for now:
while (this.isLoadingService.isLoading({ key: 'payment' })) {
this.isLoadingService.remove({ key: 'payment' });
}
But as you can see I can remove just one key point.
Edited by Mehdi Rahimi