Class EnumHelper
Helpers for bridging sequences into async streams.
public static class EnumHelper
- Inheritance
-
EnumHelper
- Inherited Members
Methods
ToAsyncEnumerable<T>(IEnumerable<T>, CancellationToken)
Wraps a synchronous sequence as an IAsyncEnumerable<T>, honoring cancellation between items.
public static IAsyncEnumerable<T> ToAsyncEnumerable<T>(this IEnumerable<T> items, CancellationToken ct = default)
Parameters
itemsIEnumerable<T>ctCancellationToken
Returns
Type Parameters
T