rxjs-docs
rxjs-docs copied to clipboard
Add docs for operator : multicasting - publish
trafficstars
Add docs for operator publish under group multicasting
Below is minimum details needed
- [ ] name
- [ ] operatorType
- [ ] signature
- [ ] parameters
- [ ] short description
- [ ] Technical description
- [ ] Visual example (Marble diagram)
- [ ] Real world example (Non-framework)
- [ ] Related Operators
Import information to include in the publish docs:
publish has 2 variants.
1 publish() that returns a ConnectableObservable where you can call connect() or refCount()on.
2 publish(selector) that returns a normal Observable and will only multicast inside the selector.
Where the first variant returns an hot observable, the second variant returns a cold one.
Thx @dorus!