Skip to content

Commit

Permalink
docs(ReplaySubject): correct description (#4437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris authored and benlesh committed Jan 11, 2019
1 parent 015185e commit 0118f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/subject.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ subject.next(3);

## ReplaySubject

A `ReplaySubject` is similar to a `BehaviorSubject` in that it can send old values to new subscribers, but it can also *record* a part of the Observable execution.
A `ReplaySubject` is similar to a `BehaviorSubject` in that it can send current and new values to new subscribers, but it can also *record* a part of the Observable execution.

<span class="informal">A `ReplaySubject` records multiple values from the Observable execution and replays them to new subscribers.</span>

Expand Down

0 comments on commit 0118f4a

Please sign in to comment.