---
title: "Delegate AsyncTaskFunc"
url: "https://reference.aspose.com/psd/net/aspose.psd.asynctask/asynctaskfunc/"
product: "Aspose.PSD for .NET API Reference"
description: "The long operation delegate for the asynchronous task with generic type result"
---

{{< psd/tize >}}
## AsyncTaskFunc delegate

The long operation delegate for the asynchronous task with generic type result.

```csharp
public delegate object AsyncTaskFunc(IAsyncTaskState taskState);
```

| Parameter | Type | Description |
| --- | --- | --- |
| taskState | IAsyncTaskState | State of the asynchronous task. |

### Return Value

Result of the long operation.

### See Also

* interface [IAsyncTaskState](../iasynctaskstate/)
* namespace [Aspose.PSD.AsyncTask](../../aspose.psd.asynctask/)
* assembly [Aspose.PSD](../../)


