# DurableSignal&lt;T&gt;.WaitAsync

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

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

```csharp
public DurableTask<T> WaitAsync()
```

Creates a definition which waits for this signal and returns its value.

### Returns

A definition which, run within a durable execution, completes with the signal's recorded value. Awaited directly, it runs as part of the awaiting execution; as an input to [DurableTask](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.durabletask/), it races other inputs, such as a [DurableTask](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.durabletask/) timeout.
