Click or drag to resize
WriteBufferFlushAsync Method
Asynchronously empties the contents of the buffer by calling the callback specified at construction.

Namespace: Lawo.IO
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public Task<bool> FlushAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: TaskBoolean
The value true.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe WriteBuffer object was created by calling WriteBuffer(WriteCallback, Int32).
Remarks
After calling this function, Count equals 0.
See Also