Interface AsyncResult<T>
- Type Parameters:
T- result type
public interface AsyncResult<T>
Future-like handle for asynchronous workload or invocation results.
-
Method Summary
-
Method Details
-
ref
-
await
-
cancel
void cancel()Requests best-effort cancellation. -
done
boolean done()Returns whether the result is complete.- Returns:
- whether the result is complete
-