Get a handle to the user route cache for background refresh.
(
&self,
)
| 140 | |
| 141 | /// Get a handle to the user route cache for background refresh. |
| 142 | pub fn route_cache( |
| 143 | &self, |
| 144 | ) -> Arc<tokio::sync::RwLock<Vec<openshell_router::config::ResolvedRoute>>> { |
| 145 | self.routes.clone() |
| 146 | } |
| 147 | |
| 148 | /// Get a handle to the system route cache for background refresh. |
| 149 | pub fn system_route_cache( |
no outgoing calls
no test coverage detected