We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Client::optimize_stores
1 parent 5bb02c3 commit 44514c3Copy full SHA for 44514c3
bindings/matrix-sdk-ffi/src/client.rs
@@ -359,6 +359,12 @@ impl Client {
359
360
#[matrix_sdk_ffi_macros::export]
361
impl Client {
362
+ /// Perform database optimizations if any are available, i.e. vacuuming in
363
+ /// SQLite.
364
+ pub async fn optimize_stores(&self) -> Result<(), ClientError> {
365
+ Ok(self.inner.optimize_stores().await?)
366
+ }
367
+
368
/// Information about login options for the client's homeserver.
369
pub async fn homeserver_login_details(&self) -> Arc<HomeserverLoginDetails> {
370
let oauth = self.inner.oauth();
0 commit comments