Package io.smooch.core
Interface SmoochCallback<T>
-
- Type Parameters:
T
- the type of the data being returned
- All Known Implementing Classes:
StubbedCallback
public interface SmoochCallback<T>
Callback used to be notified of the result of an asynchronous action
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SmoochCallback.Response<T>
The response body passed into aSmoochCallback
to pass along information about the result of the action being performed
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(SmoochCallback.Response<T> response)
Invoke theSmoochCallback
with the results of the action
-
-
-
Method Detail
-
run
void run(SmoochCallback.Response<T> response)
Invoke theSmoochCallback
with the results of the action- Parameters:
response
- an instance ofSmoochCallback.Response
containing the results of the action
-
-