Skip to main content

WebPowerSyncFlags

Extended by

Properties

PropertyTypeDescription
broadcastLogs?booleanBroadcast logs from shared workers, such as the shared sync worker,
to individual tabs. This defaults to true.
enableMultiTabs?booleanEnables multi tab support
externallyUnload?booleanExternally unload open PowerSync database instances when the window closes.
Setting this to true requires calling close on all open PowerSyncDatabase
instances before the window unloads
ssrMode?booleanOpen in SSR placeholder mode. DB operations and Sync operations will be a No-op