(&self, key: &str, value: V)
| 44 | } |
| 45 | |
| 46 | pub fn insert<V: Prelim>(&self, key: &str, value: V) { |
| 47 | self.collab_ctx.with_transact_mut(|txn| { |
| 48 | self.map_ref.insert(txn, key, value); |
| 49 | }) |
| 50 | } |
| 51 | |
| 52 | pub fn insert_with_txn<V: Prelim>(&self, txn: &mut TransactionMut, key: &str, value: V) { |
| 53 | self.map_ref.insert(txn, key, value); |
no test coverage detected