Table of Contents

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

Promise

MoveNextAsync()

Advances the enumerator to the next element.

public Promise<bool> MoveNextAsync()

Returns

Promise<bool>

Resolves to true if the enumerator was successfully advanced, false if the end was reached.