
**Summary:** Provides access to the state of the asynchronous task.

**Module:** [aspose.psd.asynctask](/psd/python-net/aspose.psd.asynctask/)

**Full Name:** aspose.psd.asynctask.IAsyncTaskState

**Aspose.PSD Version:** 24.12.0

## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| is_canceled | bool | r | Gets a value indicating whether the asynchronous task is canceled. |
| progress | [AsyncTaskProgress](/psd/python-net/aspose.psd.asynctask/asynctaskprogress) | r | Gets the progress of the asynchronous task. |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [set_progress(progress_percentage)](#set_progress_progress_percentage_1) | Sets the progress of the asynchronous task. |


### Method: set_progress(progress_percentage) {#set_progress_progress_percentage_1}


```
 set_progress(progress_percentage) 
```

Sets the progress of the asynchronous task.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| progress_percentage | int | The progress percentage. |

