Skip to content

Commit 84f9258

Browse files
committed
add AsyncStorage::backend method
1 parent cd2696c commit 84f9258

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libsql-wal/src/storage/async_storage.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@ impl<B: Backend, S> AsyncStorage<B, S> {
326326
(this, storage_loop)
327327
}
328328

329+
pub fn backend(&self) -> &B {
330+
&self.backend
331+
}
332+
329333
/// send shutdown signal to bottomless.
330334
/// return a function that can be called to force shutdown, if necessary
331335
pub fn send_shutdown(self) -> impl FnOnce() {

0 commit comments

Comments
 (0)