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.
Generating the Flux API
Get Hands-On Reactive Programming with Reactor now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.