invokeAnd

open fun <R> invokeAnd(invoker: (C) -> R): Stream<R>

Invoke the callback instances where the callback method returns a result.

Return

the results of the invocation (may be an empty stream if no callbackscould be called)

Parameters

invoker

the invoker used to invoke the callback

<R>

the result type