public class AsyncResult<T>
extends java.lang.Object
AsyncExecutor.submit(AsyncTask)
, allows to poll for the result of the asynch workload.Modifier and Type | Method and Description |
---|---|
T |
get() |
boolean |
isDone() |
public boolean isDone()
AsyncTask
is donepublic T get()
GdxRuntimeException
- if there was an error