- Enclosing interface:
Executor<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for rejecting the
Promise.
-
Method Summary
default void
Method to call for rejecting the
Promise without a reason.
void
Method to call for rejecting the
Promise with given reason.
-
Method Details
-
onInvoke
default void onInvoke()
Method to call for rejecting the
Promise without a reason.
-
onInvoke
Method to call for rejecting the
Promise with given reason.
- Parameters:
reason - The reason for rejecting.