Interface IIPromiseEnumerator<T>
- Namespace
- MarymoorStudios.Core.Promises
- Assembly
- MarymoorStudios.Core.Promises.dll
Supports a simple asynchronous iteration over a generic collection.
public interface IIPromiseEnumerator<out T> : IPromiseDisposable
Type Parameters
T
The type of the elements in the collection.
- Inherited Members
Properties
Current
Gets the element in the collection at the current position of the enumerator.
T Current { get; }
Property Value
- T
The element in the collection at the current position of the enumerator.
Methods
MoveNextAsync()
Advances the enumerator to the next element.
Promise<bool> MoveNextAsync()