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

fix(Observable): empty ctor returns valid Observable #3464

Merged
merged 1 commit into from
Mar 24, 2018

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Mar 22, 2018

Before if you subscribed such as (new Observable()).subscribe() it would throw an error, this remedies that and will effectively return a never observable, however not the same instance as NEVER

Before if you subscribed such as `(new Observable()).subscribe()` it would throw an error, this remedies that and will effectively return a never observable, however _not_ the same instance as `NEVER`
@benlesh benlesh requested a review from kwonoj March 22, 2018 17:16
@benlesh benlesh merged commit 58b8ebc into ReactiveX:master Mar 24, 2018
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant