Generating the Flux API

The Flux<T> API supports stream generation from various sources, such as individual values, collections, Java 8 streams, and more. It can also be used to generate a stream from a custom logic, or from an existing reactive publisher. We will discuss all of these options in detail in upcoming sections.

Get Hands-On Reactive Programming with Reactor now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.