io.machinecode.then.api.OnResolve Maven / Gradle / Ivy
package io.machinecode.then.api;
/**
* Listener for a {@link Deferred} entering a {@link Deferred#RESOLVED} state.
*
* @see Deferred
* @author Brent Douglas
* @since 1.0
*/
public interface OnResolve {
/**
* @param that The result of the computation represented by this promise.
*/
void resolve(final T that);
}