-
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
subscribeToResult isObservable check #1463
Comments
Do you mean this checker? |
I know it's annoying, but you should use |
We went with the instanceof check for perf reasons. In some of the resource constrained devices Netflix has to deal with, property checking is much slower. I think it's probably a reasonable compromise to have an Really though, |
I'm fine with that solution.
I'm having a bit of trouble getting that to work. I'll dig a bit more to see why. |
Well with beta 3, Symbol.observable just started to work. Although, I still think that object having subscribe function should be enough. |
closing as inactive. |
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. |
2nd if checks if the result is an observable, using instanceof. This check is too strict. It should be enough that result has subsrcribe method. Something like:
The text was updated successfully, but these errors were encountered: