Table of Contents

Class AttachmentQueueOptions

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

Options for configuring an AttachmentQueue instance.

public sealed class AttachmentQueueOptions
Inheritance
AttachmentQueueOptions
Inherited Members

Properties

ArchivedCacheLimit

Maximum number of archived attachments to keep before cleanup. Default: 100.

Db

The PowerSync database instance.

DownloadAttachments

Whether to automatically download remote attachments. Default: true.

ErrorHandler

Optional error handler controlling retry/archive decisions. When unset, transient failures retry forever.

LocalStorage

Local storage adapter for file persistence.

Logger

Optional logger. Default: Instance.

RemoteStorage

Remote storage adapter for upload/download/delete operations.

SyncInterval

Periodic polling interval used to retry failed transfers. Default: 30 seconds.

SyncThrottle

Minimum gap between consecutive sync passes. Coalesces bursts of triggers into one pass. Default: 30 milliseconds.

TableName

Name of the attachment table. Default: TableName.

WatchAttachments

Callback for monitoring attachment changes in your data model.