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

Update docs for "apply" and add an example #1239

Merged
merged 2 commits into from
May 23, 2014

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented May 21, 2014

Try to solve #1076. @vchekan, any suggestion?

/cc @headinthebox, @samuelgruetter

@cloudbees-pull-request-builder

RxJava-pull-requests #1139 SUCCESS
This pull request looks good

for (line <- Source.fromInputStream(input)(Codec.UTF8).getLines() if !subscriber.isUnsubscribed) {
subscriber.onNext(line)
}
subscriber.onCompleted()
Copy link
Contributor

Choose a reason for hiding this comment

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

You should only call onCompleted if !subscriber.isUnsubscribed

@cloudbees-pull-request-builder

RxJava-pull-requests #1140 SUCCESS
This pull request looks good

@cloudbees-pull-request-builder

RxJava-pull-requests #1145 SUCCESS
This pull request looks good

@samuelgruetter
Copy link
Contributor

LGTM

@headinthebox
Copy link
Contributor

ditto.

benjchristensen added a commit that referenced this pull request May 23, 2014
Update docs for "apply" and add an example
@benjchristensen benjchristensen merged commit d9df3bd into ReactiveX:master May 23, 2014
@zsxwing zsxwing deleted the apply-scaladoc-example branch May 24, 2014 09:22
@benjchristensen benjchristensen mentioned this pull request Jun 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants