(&self, _event: &InvalidationEvent)
| 332 | } |
| 333 | |
| 334 | fn should_cascade(&self, _event: &InvalidationEvent) -> bool { |
| 335 | match &self.strategy { |
| 336 | InvalidationStrategy::DependencyBased { transitive, .. } => *transitive, |
| 337 | InvalidationStrategy::TagBased { .. } => true, |
| 338 | _ => false, |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | fn cascade_invalidation(&self, initial_entries: &HashSet<String>) -> HashSet<String> { |
| 343 | let mut cascaded = HashSet::new(); |