Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected ReadonlynameThe storage instance name.
Clears the storage, removing all the items.
Protectedclear_Copies an item from the storage to a target object. Optionally you can specify the keys of the item that you want to copy, if you don't specify any key the whole item will be copied.
Protectedcopy_Retrieves an item from the storage.
Protectedget_Returns the name of the instance.
Checks if an item exists in the storage. Optionally you can specify the keys of the item that you want to check, if you don't specify any key the whole item will be checked.
Optionalkeys: (keyof T)[]Protectedhas_Removes an item from the storage. Optionally you can specify the keys of the item that you want to remove, if you don't specify any key the whole item will be removed.
Optionalkeys: (keyof T)[]Protectedremove_Protectedremove__Protectedremove___Sets an item in the storage. Optionally you can specify the keys of the item that you want to set, if you don't specify any key the whole item will be set.
Protectedset_Protectedset__
The SyncStorage class is an abstraction to implement any synchronous storage API in an uniform way.
Aracna Reference