Project reactor

This project is an implementation of the Reactive Streams specification, which is preferred by Spring Framework. There are also adapters that make it possible to use other implementations if required, but that is often unnecessary.

Project reactor can also be used to implement Reactive applications without using Spring.

When we're registering functions to handle events, we tend to nest callbacks that make it difficult to understand the written code. In order to simplify these kinds of requirements, Reactor has its own set of operators (visit https://goo.gl/y7kcgS to see the whole list of available operators). These operators allow us to interact with the API in a cleaner way, without having to chain callback functions together.

There are two main producer classes that deal with results where the operators can be applied:

  • Mono
  • Flux
..................Content has been hidden....................

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