Пример #1
0
#pragma warning restore CS0672 // Member overrides obsolete member

            public override ValueTask <FlushResult> FlushAsync(CancellationToken cancellationToken = default) => _pipe.FlushAsync(cancellationToken);
Пример #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());
 }
Пример #3
0
 public override PipeAwaiter <FlushResult> FlushAsync(CancellationToken cancellationToken = default)
 {
     return(_pipe.FlushAsync(cancellationToken));
 }
Пример #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());
 }
Пример #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));
 }