Building RESTful Web Services with Spring 5(Second Edition)
上QQ阅读APP看书,第一时间看更新

Flux

Flux is one of the main types in Reactor. A Flux is the equivalent of an RxJava Observable, capable of emitting zero or more items, and then, optionally, either completing or failing.

Flux is one of the Reactive types that implement the Publisher interface from the Reactive Streams manifesto. Flux's main role is to deal with streams of data. Flux mainly represents a stream of N elements.


Flux is a publisher, a sequence of events of a specific Plain Old Java Object ( POJO) type.