8000 ensure StringObservable.join does not stall by davidmoten · Pull Request #24 · ReactiveX/RxJavaString · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@davidmoten
Copy link
Contributor

StringObservable.join passed through requests from child subscriber only and instead needed to request Long.MAX_VALUE of upstream because only emits on completion.

@akarnokd I did slightly more than you suggested so that initial request was Long.MAX_VALUE but also decoupled the parent subscriber from further requests from child subscriber.

PR includes unit test that failed on existing code.

@akarnokd
Copy link
Member

The final value emission doesn't honor backpressure. You can override setProducer instead and request max if n > 0 from the child.

@davidmoten
Copy link
Contributor Author

okey doke

@davidmoten
Copy link
Contributor Author

added backpressure support. That do?

@akarnokd
Copy link
Member

Looks good thanks.

akarnokd added a commit that referenced this pull request Jul 12, 2015
ensure StringObservable.join does not stall
@akarnokd akarnokd merged commit e22a356 into ReactiveX:1.x Jul 12, 2015
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.

2 participants

0