Expose generalised use of use_storage_with_options

This commit is contained in:
Joshua McQuistan 2023-10-27 14:15:40 +01:00
parent fdb9f672d1
commit 7bfd069047

View file

@ -71,7 +71,7 @@ where
} }
/// Hook for using any kind of storage. Returns a result of a signal and a setter / deleter. /// Hook for using any kind of storage. Returns a result of a signal and a setter / deleter.
fn use_storage_with_options<T, C>( pub fn use_storage_with_options<T, C>(
storage_type: StorageType, storage_type: StorageType,
key: impl AsRef<str>, key: impl AsRef<str>,
options: UseStorageOptions<T, C>, options: UseStorageOptions<T, C>,