-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Question] Extending Observable #1353
Comments
@rolandjitsu you only need to override |
@trxcllnt thanks. It sounds like it is a good idea to have operators return instances of my own observable. Though not really sure if I actually need to extend the Observable. What I am after is: let obs = new MyClass();
obs.subscribe(() => { ... }); And the class returned is not actually an array like object, it's more of a hash. Is it a good pattern or should I look at a different approach here? |
@rolandjitsu I'm not totally clear on how you intend to use your class that extends Observable, but it's certainly not a problem that you do. |
That's alright. I think you already answered my question, so this can be closed. Thanks Sent from my iPhone
|
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. |
Do I need to add the
lift()
method if I only want to extend anObservable
and not add an operator:Or is it enough to just extend the class:
The text was updated successfully, but these errors were encountered: