Struct PipeExtensions.PipeReaderEnumerator<T>
- Namespace
- MarymoorStudios.Core.Rpc
- Assembly
- MarymoorStudios.Core.Rpc.dll
An enumerator for a PipeReader<T>.
public readonly struct PipeExtensions.PipeReaderEnumerator<T> : IIPromiseEnumerator<T>, IPromiseDisposable
Type Parameters
T
- 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()