We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748b56d commit 0901ffbCopy full SHA for 0901ffb
src/main/java/rx/subjects/BehaviorSubject.java
@@ -35,14 +35,14 @@
35
* <p>
36
* <pre> {@code
37
38
- // observer will receive all events.
+ // observer will receive all 4 events (including "default").
39
BehaviorSubject<Object> subject = BehaviorSubject.create("default");
40
subject.subscribe(observer);
41
subject.onNext("one");
42
subject.onNext("two");
43
subject.onNext("three");
44
45
- // observer will receive the "one", "two" and "three" events, but not "zero"
+ // observer will receive the "one", "two" and "three" events, but not "default" and "zero"
46
47
subject.onNext("zero");
48
0 commit comments