ngxtension / ngxtension-platform

Utilities for Angular
https://ngxtension.netlify.app/
MIT License
591 stars 87 forks source link

feat: add deriveLoading RxJs-Operator #439

Closed mikelgo closed 2 months ago

mikelgo commented 3 months ago

This PR will add a deriveLoading RxJs Operator which will emit a loading state/ boolean flag based on some underlying async operation. This will also be done in a "non-flickering" way.

I'm not sure where I can add some documentation for this.

Looking forward to your feedback, probably also we can find a better name. I'm not completely happy.

ajitzero commented 3 months ago

Hi @mikelgo - Could you please raise an issue with details for the use case and a brief example of how to use it? This initially looked similar to #56 & #354, but the tests helped clarify things.

mikelgo commented 3 months ago

Hi @mikelgo - Could you please raise an issue with details for the use case and a brief example of how to use it? This initially looked similar to #56 & #354, but the tests helped clarify things.

Issue created: https://github.com/ngxtension/ngxtension-platform/issues/440

mikelgo commented 2 months ago

Let me know if I need to do anything. I saw that CI was failing (however not sure why). build, test and lint for the new feature works on my local.

hoc081098 commented 2 months ago

Nice 😂