(
&self,
hook_id: &str,
handler: Arc<dyn crate::hooks::HookHandler>,
)
| 24 | } |
| 25 | |
| 26 | pub(super) fn register_hook_handler( |
| 27 | &self, |
| 28 | hook_id: &str, |
| 29 | handler: Arc<dyn crate::hooks::HookHandler>, |
| 30 | ) { |
| 31 | self.session.hook_engine.register_handler(hook_id, handler); |
| 32 | } |
| 33 | |
| 34 | pub(super) fn unregister_hook_handler(&self, hook_id: &str) { |
| 35 | self.session.hook_engine.unregister_handler(hook_id); |
nothing calls this directly
no test coverage detected