4
Methods
1
Implementations
0
Required By
01

Methods

  • register
    (hook_point, handler, priority=100, name='') -> None
    Register a hook handler at a hook point
  • unregister
    (hook_point, handler) -> bool
    Remove a hook handler
  • dispatch
    (ctx: HookContext) -> HookExecutionResult
    Execute all handlers and return merged result
  • get_handlers
    (hook_point) -> list[HookRegistration]
    Inspect registered handlers for a hook point
02

Implementations

  • HookDispatcher
    from hooks
    Default hook dispatcher implementation
03

Required By

Not required by any components