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

Method get_lease

d-engine-server/src/api/embedded_client.rs:838–843  ·  view source on GitHub ↗
(
        &self,
        key: impl AsRef<[u8]> + Send,
    )

Source from the content-addressed store, hash-verified

836 }
837
838 async fn get_lease(
839 &self,
840 key: impl AsRef<[u8]> + Send,
841 ) -> ClientApiResult<Option<Bytes>> {
842 self.get_with_consistency(key, ReadConsistencyPolicy::LeaseRead).await
843 }
844
845 async fn get_eventual(
846 &self,

Calls 1

get_with_consistencyMethod · 0.80