Ask a question to get started
Enter to sendā¢Shift+Enter new line
HooksSnapshot( self, handlers: Mapping[HookEvent, tuple[HookHandler, ...]], snapshot_id: str
Build an immutable runtime snapshot from validated configuration.
Invalid matcher groups are rejected at compile time with a warning diagnostic; their handlers are never added to the snapshot.
Return handlers matching an invocation in declaration order.
Return events that have at least one compiled handler.
Return server-owned events that have at least one compiled handler.
Immutable, declaration-ordered Hooks v2 runtime configuration.