Skip to content

Commit

Permalink
docs(Observable): fix docs about the share operator
Browse files Browse the repository at this point in the history
As suggested by ReactiveX#2937 this updates the docs on the share
operator to better reflect it's actual behaviour.
  • Loading branch information
seanhealy committed Oct 24, 2017
1 parent c98bb2c commit 18bf2cd
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 18bf2cd

Please sign in to comment.