T - Type of the responsepublic interface ChallongeApiCall<T>
| Modifier and Type | Method and Description |
|---|---|
void |
async(AsyncCallback<T> callback)
An async API call.
|
T |
sync()
A sync API call.
|
T sync() throws Exception
Exception - Any exception that occurred during the callvoid async(AsyncCallback<T> callback) throws Exception
callback - The callbackException - Any exception that occurred during the callCopyright © 2016. All rights reserved.