TakeWhileAsyncIterator<TSource>

Namespace: SnowBank.Linq.Async.Iterators · class

Implements: AsyncFilterIterator<TSource, TSource>, IAsyncLinqQuery<TSource>, IAsyncQuery<TSource>, IAsyncEnumerable<TSource>, IAsyncEnumerator<TSource>, IAsyncDisposable

Reads an async sequence of items until a condition becomes false

Constructors

TakeWhileAsyncIterator<TSource>

TakeWhileAsyncIterator<TSource>(IAsyncQuery<TSource> source, Func<TSource, bool> condition)