-
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
Documentation of refCount
is wrong
#5587
Comments
Yes. The above statement is incorrect. |
Is it just a documentation error? Or an implementation error? |
The statement in the docs is wrong. It's by design that |
I am a complete newbie to opensource contributions but, I would like to begin. Is this change as simple as removing the snippet about the share operator? |
In the docs, AFAICT, there is no snippet that mentions
Beyond that, I don't think changes would be worthwhile - your time would be better spent look to contribute to other issues - as these APIs are likely to change very soon. Really, Note that the docs are generated from the TSDoc, so the change needs to be made here: rxjs/src/internal/operators/refCount.ts Lines 19 to 20 in 3db2eaa
|
Documentation Related To Component:
refCount
Please check those that apply
Description Of The Issue
Documentation in
refCount
says:But I think it`s not "exactly same".
If I subscribe an observable that already completed, observable with
publish & refCount
won`t restart.But the completed observable with
share
will restart.I`m not sure which is wrong: doc or real code.
Test Case(StackBlitz)
======EDIT======
I think I found an alias for
publish
andshare
Maybe it could be some hint?
The text was updated successfully, but these errors were encountered: