Hook Count • Rust AI Agent SDK
hook_count: Get hook count for an event
hook_count
Method
</div>
This is a method of the HookRegistry class in the hooks module.
Get hook count for an event
Signature
def hook_count(&self, event: HookEvent) -> usizeParameters
ParamField
HookEventNo description available.
Returns
ResponseField
usizeThe result of the operation.