Function use_storage_with_options

Source
pub fn use_storage_with_options<T, C>(
    storage_type: StorageType,
    key: impl Into<Signal<String>>,
    options: UseStorageOptions<T, <C as Encoder<T>>::Error, <C as Decoder<T>>::Error>,
) -> (Signal<T>, WriteSignal<T>, impl Fn() + Clone + Send + Sync)
where T: Clone + PartialEq + Send + Sync, C: Encoder<T, Encoded = String> + Decoder<T, Encoded = str>,
Expand description

Version of use_storage that accepts UseStorageOptions.