Skip to content

Commit

Permalink
docs(share): fix description in relation to multicast
Browse files Browse the repository at this point in the history
PR #2990 

As suggested by #2937 this updates the docs on the share operator to better reflect it's actual behaviour.
  • Loading branch information
seanhealy authored and staltz committed Oct 24, 2017
1 parent c98bb2c commit 6dc1b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operators/share.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function shareSubjectFactory() {
* Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one
* Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will
* unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`.
* This is an alias for .publish().refCount().
* This is an alias for .multicast(() => new Subject()).refCount().
*
* <img src="./img/share.png" width="100%">
*
Expand Down

0 comments on commit 6dc1b80

Please sign in to comment.