execute_sync
Method
This is a method of the HookRunner class in the runner module.Synchronous version of execute.
Signature
Parameters
HookEvent
required
The event to execute hooks for
HookInput
required
Input data for the hooks
Optional[str]
Optional target to filter hooks
Returns
List[HookExecutionResult]
List of execution results
Uses
asyncio.get_running_looploop.is_runningRuntimeErrorget_hooksasyncio.runexecute
Source
View on GitHub
praisonaiagents/hooks/runner.py at line 137
