# ConfiguredDurableTask&lt;TResult&gt;.GetAwaiter

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.configureddurabletask-1/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.configureddurabletask-1/methods/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/DurableTask.cs#L678)

```csharp
public DurableTaskAwaiter<TResult> GetAwaiter()
```

Gets an awaiter which runs or attaches to the task and returns its result once the result is durable.
