Flux<T> is a general purpose reactive publisher. It represents a stream of asynchronous events with zero or more values, optionally terminated by either a completion signal or an error. It is important to note that a Flux emits the following three events:
- Value refers to the values generated by the publisher
- Completion refers to a normal termination of the stream
- Error refers to an erroneous termination of the stream:
All of the preceding events are optional. This can lead to streams of the following types:
- Infinite stream: A publisher generating only value events, and no terminal events (completion and error)
- Infinite empty stream: A stream generating no value events and no terminating events
- Finite stream: A publisher generating N finite values, followed by a terminal event
- Empty stream: A publisher generating no value events, and only terminal events...