aboutsummaryrefslogtreecommitdiff
path: root/src/k2v_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/k2v_util.rs')
-rw-r--r--src/k2v_util.rs11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/k2v_util.rs b/src/k2v_util.rs
index 9dadab4..3cd969b 100644
--- a/src/k2v_util.rs
+++ b/src/k2v_util.rs
@@ -1,14 +1,10 @@
+/*
use anyhow::Result;
-
-use k2v_client::{CausalValue, CausalityToken, K2vClient};
-
// ---- UTIL: function to wait for a value to have changed in K2V ----
pub async fn k2v_wait_value_changed(
- k2v: &K2vClient,
- pk: &str,
- sk: &str,
- prev_ct: &Option<CausalityToken>,
+ k2v: &storage::RowStore,
+ key: &storage::RowRef,
) -> Result<CausalValue> {
loop {
if let Some(ct) = prev_ct {
@@ -27,3 +23,4 @@ pub async fn k2v_wait_value_changed(
}
}
}
+*/