IsAwaitable
Gets a value indicating whether the return type of the method is awaitable, i.e., whether it can be used with the await keyword.
Declaration
public bool IsAwaitable { get; }Property Value
| Type | Description |
|---|---|
| bool |
|
Remarks
This does not include IAsyncEnumerable<T>, which can be used with await foreach but not await.