(&self, session_id: &str, turn: ActiveDialogTurn)
| 128 | |
| 129 | impl ActiveDialogTurnStore { |
| 130 | pub fn insert(&self, session_id: &str, turn: ActiveDialogTurn) { |
| 131 | self.inner.insert(session_id.to_string(), turn); |
| 132 | } |
| 133 | |
| 134 | pub fn remove(&self, session_id: &str) -> Option<ActiveDialogTurn> { |
| 135 | self.inner.remove(session_id).map(|(_, turn)| turn) |
no outgoing calls