#pragma warning restore CS0672 // Member overrides obsolete member public override ValueTask <FlushResult> FlushAsync(CancellationToken cancellationToken = default) => _pipe.FlushAsync(cancellationToken);
/// <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()); }
public override PipeAwaiter <FlushResult> FlushAsync(CancellationToken cancellationToken = default) { return(_pipe.FlushAsync(cancellationToken)); }
/// <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()); }
/// <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)); }