Interface IAsyncBuffer<T>
Represents a cached sequence that can be re-enumerated multiple times.
Inherited Members
Namespace: SuperLinq.Async
Assembly: SuperLinq.Async.dll
Syntax
public interface IAsyncBuffer<out T> : IAsyncEnumerable<T>, IAsyncDisposable
Type Parameters
Name | Description |
---|---|
T | The type of the items in the cached sequence. |
Properties
Name | Description |
---|---|
Count | The number of elements currently cached. |
Methods
Name | Description |
---|---|
ConfigureAwait(bool) | Configures how awaits on the tasks returned from an async disposable are performed. |
Reset(CancellationToken) | Clears the current buffer and restarts the enumeration from the beginning. |
Extension Methods
AsyncSuperEnumerable.Fold<T, TResult>(IAsyncEnumerable<T>, Func<T, T, T, T, T, T, T, T, T, TResult>)
AsyncSuperEnumerable.ForEach<TSource>(IAsyncEnumerable<TSource>, Action<TSource>, CancellationToken)