Generating a Mono

The Mono<T> API supports stream generation from various single-value sources, like individual values, method invocations, Java 8 supplier functions, and so on. It can also be used to generate a stream from a custom logic or from an existing reactive publisher. We will now discuss these in detail.

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.