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

GroupBy fixes as reported in Issue 282 #284

Merged

Conversation

benjchristensen
Copy link
Member

Issue #282

  • Refactored to maintain a single subscription that propagates events to the correct child GroupedObservables.
  • make unsubscribe work correctly for parent/child sequences
  • add language adaptor support

@cloudbees-pull-request-builder

RxJava-pull-requests #156 FAILURE
Looks like there's a problem with this pull request

@benjchristensen
Copy link
Member Author

Not quite sure yet what's causing the test to fail on CloudBees.

@cloudbees-pull-request-builder

RxJava-pull-requests #160 FAILURE
Looks like there's a problem with this pull request

@benjchristensen
Copy link
Member Author

That failing test has nothing to do with GroupBy and is not one I've seen issues with before. CloudBees is really harsh on thread-scheduling ...

ReactiveX#282

Refactored to maintain a single subscription that propagates events to the correct child GroupedObservables.
- support unsubscribing from parent and/or child
- The following is now possible:

```
groupBy().take(1).mapMany(group -> group.take(20))
```

- the subscription on the parent will cause new groups to stop being sent, but it will keep sending events until all previously created groups are unsubscribed from
- I specifically want to be testing with real threads here and not virtual time or a synchronous sequence so am giving it a range of counts that are acceptable
benjchristensen added a commit that referenced this pull request Jun 5, 2013
@benjchristensen benjchristensen merged commit 0da939b into ReactiveX:master Jun 5, 2013
@cloudbees-pull-request-builder

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

rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
…y-fixes

GroupBy fixes as reported in Issue 282
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

2 participants