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