Get the transaction state from the user session
(&self)
| 164 | |
| 165 | /// Get the transaction state from the user session |
| 166 | pub fn transaction_state(&self) -> Option<Arc<crate::session::SessionTransactionState>> { |
| 167 | let session_arc = self.get_session()?; |
| 168 | let user_session = session_arc.read().ok()?; |
| 169 | Some(user_session.transaction_state.clone()) |
| 170 | } |
| 171 | |
| 172 | /// Get current graph name from session |
| 173 | pub fn get_current_graph_name(&self) -> Option<String> { |
no test coverage detected