DelegatingTextWriter.FlushAsync Method
Definition
- Namespace
- DotMake.CommandLine.Util
- Assembly
- DotMake.CommandLine.dll
Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
public override Task FlushAsync()
Returns
- Task
A task that represents the asynchronous flush operation.
Exceptions
- ObjectDisposedException
The text writer is disposed.
- InvalidOperationException
The writer is currently in use by a previous write operation.