Skip to content
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

Merged
merged 1 commit into from
May 9, 2019
Merged

Conversation

ngfelixl
Copy link
Contributor

@ngfelixl ngfelixl commented Apr 8, 2019

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

@ngfelixl ngfelixl changed the title docs(skipUntil): add example with an interval waiting for click docs(skipUntil): add description and example with an interval waiting for click Apr 8, 2019
@coveralls
Copy link

coveralls commented Apr 17, 2019

Pull Request Test Coverage Report for Build 8444

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 96.659%

Files with Coverage Reduction New Missed Lines %
src/internal/OuterSubscriber.ts 1 50.0%
Totals Coverage Status
Change from base Build 8442: -0.2%
Covered Lines: 5208
Relevant Lines: 5388

💛 - Coveralls

Copy link
Member

@niklas-wortmann niklas-wortmann left a 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!

@@ -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.
Copy link
Member

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

Copy link
Contributor Author

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.

Copy link
Member

@niklas-wortmann niklas-wortmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@niklas-wortmann niklas-wortmann merged commit 0a102fd into ReactiveX:master May 9, 2019
@ngfelixl ngfelixl deleted the skipuntil-example branch May 9, 2019 06:04
@lock lock bot locked as resolved and limited conversation to collaborators Jun 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants