Table of Contents

Class EnumHelper

Namespace
Rinku.Mapping.Parsers
Assembly
Rinku.dll

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

items IEnumerable<T>
ct CancellationToken

Returns

IAsyncEnumerable<T>

Type Parameters

T