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

Diagram

Allow

Deny

Event Trigger

Hook: hook_count

Decision

Process

Block

Signature

python
def hook_count(&self, event: HookEvent) -> usize

Parameters

ParamField HookEvent

No description available.

Returns

ResponseField usize

The result of the operation.


Related Documentation