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

Rename ScheduledDisposable -> ScheduledSubscription #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bjorne
Copy link

@bjorne bjorne commented Nov 13, 2017

Observable#subscribe_on incorrectly referred to the latter, but the class was actually called the former. Looking at similar implementation it seems to me to be more in line with a subscription than a disposable, so I updated the class description to match.

Added a simple test that uses #subscribe_on, and discovered that the test still failed when using the CurrentThreadScheduler, which seemed to be fixed by switching to curly brace syntax for the lambda in #unsubscribe.

Observable#subscribe_on incorrectly referred to the latter, but the
class was actually called the former. Looking at similar implementation
it seems to me to be more in line with a subscription than a disposable.
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.

1 participant