All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.machinecode.then.api.OnReject Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package io.machinecode.then.api;

/**
 * 

Listener for a {@link Deferred} entering a {@link Deferred#REJECTED} state.

* * @see Deferred * @author Brent Douglas * @since 1.0 */ public interface OnReject { /** * @param fail The exception thrown by the computation represented by this promise. */ void reject(final F fail); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy