Strands Agents Typescript SDK
    Preparing search index...

    Class HookRegistry

    Implementation of the hook registry for managing hook callbacks. Maintains mappings between event types and callback functions.

    Implements

    • HookRegistry
    Index

    Constructors

    Methods

    • Invoke all registered callbacks for the given event. Awaits each callback, supporting both sync and async.

      Type Parameters

      Parameters

      • event: T

        The event to invoke callbacks for

      Returns Promise<T>

      The event after all callbacks have been invoked