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

Blocking subscribe methods for convenience #3174

Merged
merged 1 commit into from Oct 8, 2015

Conversation

akarnokd
Copy link
Member

Mirroring some Observable.subscribe methods on BlockingObservable.

Related discussion: #3063.

@akarnokd akarnokd mentioned this pull request Aug 21, 2015
@benjchristensen benjchristensen modified the milestone: 1.0.x Aug 28, 2015
@akarnokd akarnokd closed this Sep 9, 2015
@akarnokd akarnokd deleted the BlockingSubscribe branch September 9, 2015 15:32
@akarnokd akarnokd restored the BlockingSubscribe branch September 9, 2015 15:32
@akarnokd akarnokd reopened this Sep 9, 2015
* Runs the source observable to a terminal event, ignoring any values and rethrowing any exception.
*/
@Experimental
public void run() {
Copy link
Contributor

Choose a reason for hiding this comment

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

can this be renamed to subscribe()?

Copy link
Member Author

Choose a reason for hiding this comment

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

There is already a method named subscribe(). I've put in this alias for discoverability.

@akarnokd
Copy link
Member Author

akarnokd commented Oct 8, 2015

Done.

abersnaze added a commit that referenced this pull request Oct 8, 2015
Blocking subscribe methods for convenience
@abersnaze abersnaze merged commit 85cc639 into ReactiveX:1.x Oct 8, 2015
@akarnokd akarnokd deleted the BlockingSubscribe branch October 8, 2015 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants