Documentation update for multi.onCancellation()
Relates to
@@ -17,8 +17,7 @@ public class EventsTest {
.onFailure().invoke(failure -> System.out.println("Failed with " + failure.getMessage()))
.onCompletion().invoke(() -> System.out.println("Completed"))
.onSubscribe().invoke(subscription -> System.out.println("We are subscribed!"))
-
- .on().cancellation(() -> System.out.println("Downstream has cancelled the interaction"))
+ .onCancellation().invoke(() -> System.out.println("Downstream has cancelled the interaction"))
.on().request(n -> System.out.println("Downstream requested " + n + " items"))
.subscribe().with(item -> {
});
