new • Rust AI Agent SDK

new: Create a new hook runner

new

Method

</div>

This is a method of the HookRunner class in the hooks module.

Create a new hook runner

Signature

python
def new(registry: HookRegistry) -> Self

Parameters

ParamField HookRegistry

No description available.

Returns

ResponseField Self

The result of the operation.