Constructor and Description |
---|
Fulfillment() |
Modifier and Type | Method and Description |
---|---|
void |
error(Throwable throwable)
Fulfill with an error result.
|
protected abstract void |
execute()
Implementations can naturally use the
Fulfiller methods for the duration of this method. |
void |
execute(Fulfiller<T> fulfiller)
Delegates to
execute() , using the given fulfiller for delegation. |
void |
success(T value)
Fulfill with a success result.
|