IAsyncTask Class

Summary: The asynchronous task.

Module: aspose.imaging.asynctask

Full Name: aspose.imaging.asynctask.IAsyncTask

Properties

NameTypeAccessDescription
is_busyboolrGets a value indicating whether this task is currently running.
is_canceledboolrGets a value indicating whether this task was canceled.
is_faultedboolrGets a value indicating whether this task was faulted.
resultobjectrGets the result of this task.

Methods

NameDescription
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.