April 2018
Intermediate to advanced
910 pages
33h 21m
English
The Flow.Processor interface can serve as both a Subscriber and a Publisher. The implementation is provided here:
static interface Flow.Processor<T,R> extends Flow.Subscriber<T>, Flow.Publisher<R>
This interface takes two arguments--the subscribed item type <T> and the published item type <R>. It does not have its own methods, but does inherit the following method from java.util.concurrent.Flow.Publisher:
Flow.Processor also inherits the following methods from the java.util.concurrent.Flow.Subscriber interface: