Fire PreContextPerception hook and wait for harness decision.
(&self, event: &PreContextPerceptionEvent)
| 269 | |
| 270 | /// Fire PreContextPerception hook and wait for harness decision. |
| 271 | async fn fire_pre_context_perception(&self, event: &PreContextPerceptionEvent) -> HookResult { |
| 272 | if let Some(he) = &self.config.hook_engine { |
| 273 | let hook_event = HookEvent::PreContextPerception(event.clone()); |
| 274 | he.fire(&hook_event).await |
| 275 | } else { |
| 276 | HookResult::continue_() |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | /// Fire IntentDetection hook and wait for harness decision. |
| 281 | /// |
no test coverage detected