Skip to content

Commit

Permalink
doc(base): Document Client::event_cache_store a bit more.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Nov 6, 2024
1 parent 94bd421 commit 0942dab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/matrix-sdk-base/src/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0942dab

Please sign in to comment.