Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Dec 11, 2014

As per #1943

Copy link
Member

Choose a reason for hiding this comment

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

Why does this one start as unsubscribed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Subscriptions.unsubscribed() will be returned to the user when MultipleAssignmentSubscription is unsubscribed.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was wrong. It should be Subscriptions.empty.

@benjchristensen
Copy link
Member

Looks good. Just want to understand the one question I asked.

@zsxwing
Copy link
Member Author

zsxwing commented Dec 12, 2014

Now the static EMPTY_STATE can not be used because it becomes stateful.

benjchristensen added a commit that referenced this pull request Dec 13, 2014
Add "Subscriptions.unsubscribed" to fix the 'isUnsubscribed' issue
@benjchristensen benjchristensen merged commit ba85468 into ReactiveX:1.x Dec 13, 2014
@zsxwing zsxwing deleted the unsubscribed branch December 18, 2014 06:54
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