Table of Contents

Method FlushAsync

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

FlushAsync(CancellationToken)

Asynchronously clears all buffers for this stream, and monitors cancellation requests.

public override Task FlushAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

The token to monitor for cancellation requests.

Returns

Task

A task that represents the asynchronous flush operation.

Exceptions

ObjectDisposedException

The stream has been disposed.