# Awaitable<T>

> Custom Unity type that can be awaited and used as an async return type in the C# asynchronous programming model.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public class Awaitable<T>
```

## Methods

| Method                                                                     | Description                                                                                                        |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| [Cancel](/engine/6000.5/script-reference/unityengine/awaitable1/cancel.md) | Cancel the awaitable. If the awaitable is being awaited, the awaiter will get a System.OperationCanceledException. |
