Interface PlatformTask<T>
- Type Parameters:
T- task type
public interface PlatformTask<T>
-
Method Summary
-
Method Details
-
cancel
void cancel()Cancels the task.- Throws:
IllegalArgumentException- if the task is not cancellable
-
T - task typeIllegalArgumentException - if the task is not cancellable