doc(base): Document Client::event_cache_store a bit more.

This commit is contained in:
Ivan Enderlin
2024-11-06 13:09:37 +01:00
parent 94bd421a8d
commit 0942dab2fd

View File

@@ -531,6 +531,9 @@ impl StoreConfig {
}
/// Set a custom implementation of an `EventCacheStore`.
///
/// The `key` and `holder` arguments represent the key and holder inside the
/// [`CrossProcessStoreLock::new`][matrix_sdk_common::store_locks::CrossProcessStoreLock::new].
pub fn event_cache_store<S>(mut self, event_cache_store: S, key: String, holder: String) -> Self
where
S: event_cache_store::IntoEventCacheStore,