Method FlushAsync
FlushAsync(CancellationToken)
Writes the buffered objects and flushes the stream, asynchronously.
public ValueTask FlushAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancels the writes.