There's more...

There is an additional interface that should be used with reactive streams. It's the Flow.Processor interface and groups the Flow.Publisher and the Flow.Subscriber interfaces. Its main purpose is to be an element between a publisher and a subscriber to transform the elements produced by the first one into a format that can be processed by the second one. You can have more than one processors in a chain so the output of one of them could be processed by the next one.

Java also defines the Flow class that includes the four interfaces explained before.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.19.75