C - the callback typeA - the primary argument typepublic static final class LambdaSafe.Callbacks<C,A> extends LambdaSafe.LambdaSafeCallback<C,A,LambdaSafe.Callbacks<C,A>>
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(Consumer<C> invoker)
Invoke the callback instances where the callback method returns void.
|
<R> Stream<R> |
invokeAnd(Function<C,R> invoker)
Invoke the callback instances where the callback method returns a result.
|
invoke, withLogger, withLoggerpublic void invoke(Consumer<C> invoker)
invoker - the invoker used to invoke the callbackpublic <R> Stream<R> invokeAnd(Function<C,R> invoker)
R - the result typeinvoker - the invoker used to invoke the callback