Function: withStorageSync()
Call Signature
withStorageSync<
Input
>(key
):SignalStoreFeature
<Input
,WithStorageSyncFeatureResult
>
Defined in: libs/ngrx-toolkit/src/lib/with-storage-sync.ts:75
Enables store synchronization with storage.
Only works on browser platform.
Type Parameters
• Input extends SignalStoreFeatureResult
Parameters
key
string
Returns
SignalStoreFeature
<Input
, WithStorageSyncFeatureResult
>
Call Signature
withStorageSync<
Input
>(config
):SignalStoreFeature
<Input
,WithStorageSyncFeatureResult
>
Defined in: libs/ngrx-toolkit/src/lib/with-storage-sync.ts:78
Enables store synchronization with storage.
Only works on browser platform.
Type Parameters
• Input extends SignalStoreFeatureResult
Parameters
config
SyncConfig
<Input
["state"
]>
Returns
SignalStoreFeature
<Input
, WithStorageSyncFeatureResult
>