MCPcopy Create free account
hub / github.com/deventlab/d-engine / get_multi_with_policy

Method get_multi_with_policy

d-engine-server/src/api/embedded_client.rs:818–829  ·  view source on GitHub ↗
(
        &self,
        keys: &[Bytes],
        consistency_policy: Option<d_engine_core::config::ReadConsistencyPolicy>,
    )

Source from the content-addressed store, hash-verified

816 }
817
818 async fn get_multi_with_policy(
819 &self,
820 keys: &[Bytes],
821 consistency_policy: Option<d_engine_core::config::ReadConsistencyPolicy>,
822 ) -> ClientApiResult<Vec<Option<Bytes>>> {
823 self.get_multi_with_consistency(
824 keys,
825 consistency_policy
826 .unwrap_or(d_engine_core::config::ReadConsistencyPolicy::LinearizableRead),
827 )
828 .await
829 }
830
831 async fn get_linearizable(
832 &self,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected