reactor-core/src/main/java/reactor/core/publisher/Flux.java
public static <T> Flux<T> fromArray(T[] array) {
		if (array.length == 0) {
			return empty();
		}
		if (array.length == 1) {
			return just(array[0]);
		}
		return onAssembly(new FluxArray<>(array));
	}
public static <T> Flux<T> fromArray(T[] array) {
		if (array.length == 0) {
			return empty();
		}
		if (array.length == 1) {
			return just(array[0]);
		}
		return onAssembly(new FluxArray<>(array));
	}
Create a {@link Flux} that emits the items contained in the provided array.
<p>
<img class="marble" src="doc-files/marbles/fromArray.svg" alt="">

@param array the array to read data from
@param <T> The type of values in the source array and resulting Flux

@return a new {@link Flux}