コード例 #1
0
 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);