public interface SuccessCallback<T>
Simple interface that allows asynchronous code to perform a parameterized callback
in a similar way to GWT's callback interface. This is the base interface for Callback
where the logic is broken down to single method interfaces so Java 8 lambdas can be used.
Modifier and Type | Method and Description |
---|---|
void |
onSucess(T value)
Invoked when the async method returns with a successful value
|
void onSucess(T value)
value
- the value