rxjs-docs icon indicating copy to clipboard operation
rxjs-docs copied to clipboard

Add docs for operator : multicasting - publish

Open ashwin-sureshkumar opened this issue 8 years ago • 2 comments
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

ashwin-sureshkumar avatar Oct 26 '17 15:10 ashwin-sureshkumar

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.

Dorus avatar Nov 09 '17 09:11 Dorus

Thx @dorus!

ladyleet avatar Nov 09 '17 09:11 ladyleet