T - data type of the resultpublic class CallResult<T> extends PendingResultBase<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CallResult.ResultCallback<T>
Callback for receiving the result once it is available
|
| Constructor and Description |
|---|
CallResult(Types.RequestId requestId) |
| Modifier and Type | Method and Description |
|---|---|
Types.RequestId |
getRequestId() |
CallResult<T> |
setResultCallback(CallResult.ResultCallback<T> callback)
Set callback to receive the result data once it is available
|
await, await, cancel, deliverError, deliverResult, isCanceled, setErrorCallbackpublic CallResult(Types.RequestId requestId)
public Types.RequestId getRequestId()
public CallResult<T> setResultCallback(CallResult.ResultCallback<T> callback)
callback - the callback