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

delight.async.callbacks.SimpleCallback Maven / Gradle / Ivy

Go to download

Asynchronous utilities for Java and GWT applications. Includes a simple promise implementation for Java.

There is a newer version: 0.1.5
Show newest version
package delight.async.callbacks;

/**
 * 

* A very basic callback which allows for the caller to be notified of the * completion of the operation. *

* This callback extends {@link FailureCallback} thus failures can be reported * through the method {@link #onFailure(Throwable)}. *

* For asynchronous operations that return a value, use {@link ValueCallback} * instead. * * @author Max Rohde * */ public interface SimpleCallback extends FailureCallback { /** * Called when the asynchronous operation has completed successfully. */ public void onSuccess(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy