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

Enforce Observable contract for Subjects #459

Closed
staltz opened this issue Oct 5, 2015 · 1 comment
Closed

Enforce Observable contract for Subjects #459

staltz opened this issue Oct 5, 2015 · 1 comment

Comments

@staltz
Copy link
Member

staltz commented Oct 5, 2015

While working on #428, I found this test which attempts to call onNext after an onError on a Subject. https://github.com/ReactiveX/RxJS/blob/master/spec/operators/bufferTime-spec.js#L62

I suppose Subjects should disallow this internally.

@benlesh
Copy link
Member

benlesh commented Oct 5, 2015

Subjects already enforce this. That test is okay, but it should probably be refactored to prevent confusion.

@benlesh benlesh closed this as completed Oct 5, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 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

No branches or pull requests

2 participants