IAsyncTask Class
Contents
[
Hide
]Summary: The asynchronous task.
Module: aspose.imaging.asynctask
Full Name: aspose.imaging.asynctask.IAsyncTask
Properties
Name | Type | Access | Description |
---|---|---|---|
is_busy | bool | r | Gets a value indicating whether this task is currently running. |
is_canceled | bool | r | Gets a value indicating whether this task was canceled. |
is_faulted | bool | r | Gets a value indicating whether this task was faulted. |
result | object | r | Gets the result of this task. |
Methods
Name | Description |
---|---|
abort() | Aborts this task. The task is completed immediately, with the risk of not freeing internal unmanaged resources. |
cancel() | Cancels this task. The task is completed safely by the controlled stopping of the algorithm. |
run_async() | Runs this task. |
wait_on_done() | Waits until task is finished. |