Skip to main content

storage.compress()

Streams an existing file to a separate .gz file in the same folder. Awaits publication within the current executor’s limits. A retry with the same idempotency key reuses the compression session. Omit the key to use the current source generation as the retry identity.

Overloads

Example

See all storage methods or runtime basics.
Last modified on November 11, 2026