public override void Complete(Exception?exception = null) => _pipe.CompleteReader(exception);
/// <summary> /// Signal to the producer that the consumer is done reading. /// </summary> /// <param name="exception">Optional Exception indicating a failure that's causing the pipeline to complete.</param> public void Complete(Exception exception = null) => _pipe.CompleteReader(exception);