Class AsyncEnumerableExtensions
public static class AsyncEnumerableExtensions
- Inheritance
-
AsyncEnumerableExtensions
- Inherited Members
Methods
ToListAsync<T>(IAsyncEnumerable<T>, CancellationToken)
public static Task<List<T>> ToListAsync<T>(this IAsyncEnumerable<T> items, CancellationToken cancellationToken = default)
Parameters
items
IAsyncEnumerable<T>cancellationToken
CancellationToken
Returns
Type Parameters
T