We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eecb297 commit 6d4f9b3Copy full SHA for 6d4f9b3
Part 3 - Taming the sequence/7. Custom operators.md
@@ -280,7 +280,8 @@ Observable<Integer> source = Observable.create(o -> {
280
o.onCompleted();
281
});
282
283
-source.subscribe(
+source.doOnUnsubscribe(() -> System.out.println("Unsubscribed"))
284
+ .subscribe(
285
System.out::println,
286
287
() -> System.out.println("Completed"));
0 commit comments