on
Method
This is a method of the HookRegistry class in the registry module.Decorator to register a function as a hook.
Signature
Parameters
The event to hook
Optional regex pattern to match targets
Whether to run sequentially
Timeout in seconds
Returns
Decorator function
Usage
Source
View on GitHub
praisonaiagents/hooks/registry.py at line 162
