-
Notifications
You must be signed in to change notification settings - Fork 3k
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
docs(skipUntil): add description and example with an interval waiting for click #4696
Conversation
Pull Request Test Coverage Report for Build 8444
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor change requested. Besides that it looks very good. Thanks a lot!
src/internal/operators/skipUntil.ts
Outdated
@@ -10,8 +10,35 @@ import { Subscription } from '../Subscription'; | |||
/** | |||
* Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item. | |||
* | |||
* The `skipUntil` operator causes the observable stream to skip the emission of values until the passed in observable returns the first value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
observable returns the first value.
I think it would be clearer if it says observable emits the first value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jwo719. I've implemented your requested change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description:
The example contains two base observables. An interval and a click listener. The resulting observable is the interval but skipping all the values, until the click event is fired.
Related issue (if exists):
#4631