Optional
Readonly
deepOptional
Readonly
onCustom error handler.
Optional
Readonly
syncInterval in milliseconds to use when syncing the store with the backend.
This option is only valid when TauriPluginPiniaOptions.syncStrategy is set to debounce
or throttle
.
Optional
Readonly
syncStrategy to use when syncing the store with the backend.
If the value is a number, the plugin will use debounce
with the specified value as the interval.
If null
, the strategy will be immediate
.
For a detailed explanation about the differences between debounce
and throttle
, see:
https://kettanaito.com/blog/debounce-vs-throttle
Default