public final <P> P as(Function<? super Flux<T>, P> transformer) {
		return transformer.apply(this);
	}
public final <P> P as(Function<? super Flux<T>, P> transformer) {
		return transformer.apply(this);
	}
public final < P > P as ( Function < ? super Flux < T > , P > transformer ) { return transformer . apply ( this ) ; }
Transform this {@link Flux} into a target type.
<blockquote><pre>
{@code flux.as(Mono::from).subscribe() }
</pre></blockquote>

@param transformer the {@link Function} to immediately map this {@link Flux}
into a target type instance.
@param <P> the returned instance type

@return the {@link Flux} transformed to an instance of P
@see #compose for a bounded conversion to {@link Publisher}
Transform this { @link Flux } into a target type . <blockquote > <pre > { @code flux . as ( Mono :: from ) . subscribe () } < / pre > < / blockquote >