# Type Alias NodeHook

NodeHook: (ctx: NodeHookContext) => Promise<Result<void, HookError>>

Hook function signature. Returns ok(void) on success, err(HookError) on failure.

#### Type Declaration

- - (ctx: NodeHookContext): Promise<Result<void, HookError>>

  - #### Parameters

    - ctx: NodeHookContext

    #### Returns Promise<Result<void, HookError>>

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:43