ReactiveX / rxjs-docs

The home for new work on the new RxJS docs (RxJS v 5 and up). New to this space? Say hi here: https://github.com/ReactiveX/rxjs-docs/issues/24. Want to find out what's up? We're chatting here. https://github.com/ReactiveX/rxjs-docs/issues/4
Apache License 2.0
160 stars 62 forks source link

shareReplay is not listed in the docs #204

Open ladyleet opened 6 years ago

ladyleet commented 6 years ago

Per an issue filed in the rxjs repo - https://github.com/ReactiveX/rxjs/issues/3184

samal-rasmussen commented 6 years ago

Ben wrote a description in the pr: https://github.com/ReactiveX/rxjs/pull/2443

Also, may I suggest that the description be explicit about the fact that share and shareReplay differ in that shareReplay will never unsubscribe from the source once it is subscribed even if all its subscribers unsubscribe.