Method
Flush
func Flush(cancellationToken: CancellationToken = default) -> Task<Result<void, StreamError>>
Declaring type: GZipStream
Module: System.IO.Compression
Assembly: System.Runtime.dll
Source file: GZipStream.rvn
Implements OutputStream.Flush
Flushes output already accepted; does not finalize gzip or emit a trailer.
Parameters
| Name | Type | Description |
|---|---|---|
cancellationToken |
CancellationToken | Cancellation for the destination flush. |
Return value
Task<Result<void, StreamError>>
Destination completion or a stream error. A failed/cancelled flush poisons the wrapper.