• Call hooks with cancellation support. Returns false if any handler returns false explicitly, indicating that processing should be skipped. Used for pre-phase hooks (preInitialize, preEvaluate, preFinalize).

    Parameters

    • name: string

      The hook event name.

    • ...args: unknown[]

      Arguments forwarded to each hook handler.

    Returns boolean

    false if any handler returned false, otherwise true.