victos / angular-opensource

angular opensource modules
MIT License
20 stars 21 forks source link

Will subscription be unsubscribed like the "async" pipe? #33

Open Amory0709 opened 2 years ago

Amory0709 commented 2 years ago

Hi Victos,

I am using your package. Thanks for developing it! However, when I use ng-busy to listen to a subscription like this: <div [ngBusy] = "mySubscription"> I don't know if I need to unsubscribe from it. Does ngBusy have the same mechanism as the "async" pipe? Looking forward to your reply.

Thanks, Amori

victos commented 2 years ago

The spinner will show until the 'mySubscription' is unsubscribed, that means you can stop the spinner by unsubscribing the 'mySubscription'.