- Type Parameters:
A - type of the successful value.
- All Superinterfaces:
- Consumer<A>
- Enclosing interface:
- Promise<A>
public static interface Promise.TryConsumer<A>
extends Consumer<A>
Consumer interface to be called after a promise is fulfilled with a
succesful value or a failure.