Expand description
HookBus — the central dispatcher for extension hooks.
The HookBus holds registered handlers and dispatches typed events to them.
Without any handlers, emit() is a no-op fast path (<1µs).
Tool-specific hooks filter by tool name before dispatching.
Modules§
- events
- Hook events — typed payloads for each extension point.
Structs§
- Handler
Registration - A registered hook handler with its metadata.
- HookBus
- The central hook dispatcher.