Method Return
Return<T>(T)
Returns a single-element sequence containing the item provided.
Declaration
public static IAsyncEnumerable<T> Return<T>(T item)
Parameters
| Type | Name | Description |
|---|---|---|
| T | item | The item to return in a sequence. |
Returns
| Type | Description |
|---|---|
| IAsyncEnumerable<T> | A sequence containing only |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the item. |