-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add rxjs operators poll
and whenDocumentVisible
#404
feat: add rxjs operators poll
and whenDocumentVisible
#404
Conversation
PR not found |
What do you mean? |
@all-contributors please add @FabienDehopre for code |
@all-contributors please add @FabienDehopre for code |
@FabienDehopre looks like the test failed. Can you take a look? |
@all-contributors please add @FabienDehopre for code (third time the charm?) |
I've put up a pull request to add @FabienDehopre! 🎉 |
@all-contributors please add @FabienDehopre for code (fourth time 🥲) |
@FabienDehopre already contributed before to code |
I've fixed the failing tests. |
Add two RxJs operators that works well together but still can be used independently.
poll
can be used to poll an API at a fixed interval with an optional initial delay.whenDocumentVisible
is the RxJs counterpart of theinjectDocumentVisibility
and can be used to pause and resume a RxJs stream based on the document visibility state.Related to #405