Class Accumulator<T,U>

java.lang.Object
net.pincette.rs.Accumulator<T,U>
All Implemented Interfaces:
Flow.Subscriber<T>

public class Accumulator<T,U> extends Object implements Flow.Subscriber<T>
Accumulates a publisher and when that's done it calls the provided function. With the get method you obtain the final result.
Since:
1.3
Author:
Werner Donné