An IAsyncEnumerator<T> wrapper around an AsyncEnumerableList<T> that supports resetting. This type is used by code transformed by aspects when return value contracts are applied to async iterator methods that return IAsyncEnumerator<T>.
Namespace: Metalama.Framework.RunTime
Assembly: Metalama.Framework.dll
Syntax
public sealed class RunTimeAspectHelper.AsyncEnumerator<T> : IAsyncEnumerator<T>, IAsyncDisposableType Parameters
| Name | Description |
|---|---|
| T | The type of items. |
Properties
| Name | Description |
|---|---|
| Current |
Methods
| Name | Description |
|---|---|
| DisposeAsync() | |
| MoveNextAsync() | |
| Reset() | Resets the enumerator to the beginning of the list. |