reactor-core/src/main/java/reactor/core/publisher/Flux.java
public static Flux<Integer> range(int start, int count) {
		if (count == 1) {
			return just(start);
		}
		if (count == 0) {
			return empty();
		}
		return onAssembly(new FluxRange(start, count));
	}
public static Flux<Integer> range(int start, int count) {
		if (count == 1) {
			return just(start);
		}
		if (count == 0) {
			return empty();
		}
		return onAssembly(new FluxRange(start, count));
	}
public static Flux < Integer > range ( int start , int count ) { if ( count == 1 ) { return just ( start ) ; } if ( count == 0 ) { return empty ( ) ; } return onAssembly ( new FluxRange ( start , count ) ) ; }
Build a {@link Flux} that will only emit a sequence of {@code count} incrementing integers,
starting from {@code start}. That is, emit integers between {@code start} (included)
and {@code start + count} (excluded) then complete.

<p>
<img class="marble" src="doc-files/marbles/range.svg" alt="">

@param start the first integer to be emit
@param count the total number of incrementing values to emit, including the first value
@return a ranged {@link Flux}
Build a { @link Flux } that will only emit a sequence of { @code count } incrementing integers starting from { @code start } . That is emit integers between { @code start } ( included ) and { @code start + count } ( excluded ) then complete .