Package com.google.gwt.core.client
Interface Callback<T,F>
-
- Type Parameters:
T- The type returned on successF- The type returned on failure
public interface Callback<T,F>A callback for any asynchronous call that can result in success or failure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFailure(F reason)Called when an asynchronous call fails to complete normally.voidonSuccess(T result)Called when an asynchronous call completes successfully.
-