Package com.tapkey.mobile.concurrent
Interface AsyncResult<T>
-
- Type Parameters:
T
- the result's type.
public interface AsyncResult<T>
Represents the result of an asynchronous operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
get()
Returns the result of the asynchronous operation.
-
-
-
Method Detail
-
get
T get() throws AsyncException
Returns the result of the asynchronous operation.- Returns:
- the operation's result.
- Throws:
AsyncException
- if the operation completed exceptionally.
-
-