add_hook
Method
This is a method of the HookRegistry class in the hooks module.Add a hook
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
add_hook: Add a hook
This is a method of the HookRegistry class in the hooks module.Add a hook
def add_hook(
&mut self,
event: HookEvent,
func: impl Fn(&HookInput) -> HookResult + Send + Sync + 'static,
) -> &mut Self