invoke

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

Invokes the function and ensures blocking operations are scheduled appropriately. Uses the toBlockable extension to automatically handle thread scheduling for blocking operations.

Return

a Mono containing the function result, scheduled appropriately for blocking operations

Parameters

target

the object on which to invoke the function

args

the arguments to pass to the function