MCPcopy Create free account
hub / github.com/AppFlowy-IO/AppFlowy-Collab / insert_key_value

Method insert_key_value

collab/tests/plugins/disk/script.rs:113–115  ·  view source on GitHub ↗
(&mut self, id: String, key: String, value: Any)

Source from the content-addressed store, hash-verified

111 }
112
113 pub async fn insert_key_value(&mut self, id: String, key: String, value: Any) {
114 self.insert(&id, key, value).await;
115 }
116
117 pub async fn get_value(&mut self, id: String, key: String, expected: Option<Any>) {
118 let collab = self.collab_by_id.get(&id).unwrap().read().await;

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected