Struct Sequence<T>.SequenceEnumerator
- Namespace
- MarymoorStudios.Core.Rpc
- Assembly
- MarymoorStudios.Core.Rpc.dll
An enumerator for a Sequence<T>.
public readonly struct Sequence<T>.SequenceEnumerator : IIPromiseEnumerator<T>, IPromiseDisposable
- Implements
- Inherited Members
Properties
Current
Gets the element in the collection at the current position of the enumerator.
public T Current { get; }
Property Value
- T
The element in the collection at the current position of the enumerator.
Methods
DisposeAsync()
public Promise DisposeAsync()
Returns
MoveNextAsync()
Advances the enumerator to the next element.
public Promise<bool> MoveNextAsync()