|
|
|
@ -279,12 +279,10 @@ public final class LambdaSafe {
|
|
|
|
|
* @param invoker the invoker used to invoke the callback
|
|
|
|
|
*/
|
|
|
|
|
public void invoke(Consumer<C> invoker) {
|
|
|
|
|
this.callbackInstances.forEach((callbackInstance) -> {
|
|
|
|
|
invoke(callbackInstance, () -> {
|
|
|
|
|
invoker.accept(callbackInstance);
|
|
|
|
|
return null;
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
this.callbackInstances.forEach((callbackInstance) -> invoke(callbackInstance, () -> {
|
|
|
|
|
invoker.accept(callbackInstance);
|
|
|
|
|
return null;
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|