invoke

open operator override fun invoke(target: T, args: Array<Any?>): Mono<List<D>>

Invokes the function that returns a Flux and collects all emitted items into a List. Uses Mono.defer for lazy evaluation and collectList() to aggregate the Flux emissions.

Return

a Mono containing a List of all items emitted by the Flux

Parameters

target

the object on which to invoke the function

args

the arguments to pass to the function