Class Cancel<T>

Type Parameters:
T - the value type.
All Implemented Interfaces:
Flow.Processor<T,T>, Flow.Publisher<T>, Flow.Subscriber<T>

public class Cancel<T> extends PassThrough<T>
Cancels the upstream if the given condition is met and completes the stream.
Since:
3.2
Author:
Werner Donné