Exemple #1
0
#pragma warning restore CS0672 // Member overrides obsolete member

            public override ValueTask <FlushResult> FlushAsync(CancellationToken cancellationToken = default) => _pipe.FlushAsync(cancellationToken);
Exemple #2
0
 /// <summary>
 /// Signals the <see cref="IPipelineReader"/> data is available.
 /// Will <see cref="Commit"/> if necessary.
 /// </summary>
 /// <returns>A task that completes when the data is fully flushed.</returns>
 public Task FlushAsync()
 {
     return(_pipe.FlushAsync());
 }
Exemple #3
0
 public override PipeAwaiter <FlushResult> FlushAsync(CancellationToken cancellationToken = default)
 {
     return(_pipe.FlushAsync(cancellationToken));
 }
Exemple #4
0
 /// <summary>
 /// Signals the <see cref="IPipeReader"/> data is available.
 /// Will <see cref="Commit"/> if necessary.
 /// </summary>
 /// <returns>A task that completes when the data is fully flushed.</returns>
 public WritableBufferAwaitable FlushAsync()
 {
     return(_pipe.FlushAsync());
 }
Exemple #5
0
 /// <summary>
 /// Signals the <see cref="IPipeReader"/> data is available.
 /// Will <see cref="Commit"/> if necessary.
 /// </summary>
 /// <returns>A task that completes when the data is fully flushed.</returns>
 public WritableBufferAwaitable FlushAsync(CancellationToken cancellationToken = default)
 {
     return(_pipe.FlushAsync(cancellationToken));
 }