Skip to content

Commit

Permalink
Merge pull request #3512 from akarnokd/SafeSubscriberDocFix
Browse files Browse the repository at this point in the history
1.x: fix SafeSubscriber documentation regarding unsubscribe
  • Loading branch information
akarnokd committed Nov 10, 2015
2 parents 32de6fc + d153d71 commit 91292a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/rx/observers/SafeSubscriber.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
* <ul>
* <li>Allows only single execution of either {@code onError} or {@code onCompleted}.</li>
* <li>Ensures that once an {@code onCompleted} or {@code onError} is performed, no further calls can be executed</li>
* <li>If {@code unsubscribe} is called, calls {@code onCompleted} and forbids any further {@code onNext} calls.</li>
* <li>If {@code unsubscribe} is called, the upstream {@code Observable} is notified and the event delivery will be stopped in a
* best effort manner (i.e., further onXXX calls may still slip through).</li>
* <li>When {@code onError} or {@code onCompleted} occur, unsubscribes from the {@code Observable} (if executing asynchronously).</li>
* </ul>
* {@code SafeSubscriber} will not synchronize {@code onNext} execution. Use {@link SerializedSubscriber} to do
Expand Down

0 comments on commit 91292a3

Please sign in to comment.