public override void Complete(Exception?exception = null) => _pipe.CompleteReader(exception);
示例#2
0
 /// <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);