[**@sebasoft/neuron-js**](../../../README.md)

***

Defined in: [interfaces/HookEvents.ts:5](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L5)

Enumeration of all lifecycle events emitted during script execution.
These can be used with a HookEmitter to monitor performance, log data, or handle side effects.

## Enumeration Members

### ON\_ACTION\_END

> **ON\_ACTION\_END**: `"pre_action_end"`

Defined in: [interfaces/HookEvents.ts:21](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L21)

Emitted after an action execution completes.

***

### ON\_ACTION\_ERROR

> **ON\_ACTION\_ERROR**: `"on_action_error"`

Defined in: [interfaces/HookEvents.ts:29](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L29)

Emitted if an error occurs during action execution.

***

### ON\_ACTION\_START

> **ON\_ACTION\_START**: `"pre_action_start"`

Defined in: [interfaces/HookEvents.ts:13](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L13)

Emitted before an action starts execution.

***

### ON\_CONDITION\_END

> **ON\_CONDITION\_END**: `"pre_condition_end"`

Defined in: [interfaces/HookEvents.ts:19](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L19)

Emitted after a condition evaluation completes.

***

### ON\_CONDITION\_ERROR

> **ON\_CONDITION\_ERROR**: `"on_condition_error"`

Defined in: [interfaces/HookEvents.ts:27](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L27)

Emitted if an error occurs during condition evaluation.

***

### ON\_CONDITION\_START

> **ON\_CONDITION\_START**: `"pre_condition_start"`

Defined in: [interfaces/HookEvents.ts:11](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L11)

Emitted before a condition starts evaluation.

***

### ON\_RULE\_END

> **ON\_RULE\_END**: `"on_rule_end"`

Defined in: [interfaces/HookEvents.ts:17](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L17)

Emitted when a rule finishes evaluation (regardless of outcome).

***

### ON\_RULE\_ERROR

> **ON\_RULE\_ERROR**: `"on_rule_error"`

Defined in: [interfaces/HookEvents.ts:25](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L25)

Emitted if an error occurs while evaluating a specific rule.

***

### ON\_RULE\_START

> **ON\_RULE\_START**: `"on_rule_start"`

Defined in: [interfaces/HookEvents.ts:9](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L9)

Emitted when a specific rule begins evaluation.

***

### ON\_SCRIPT\_END

> **ON\_SCRIPT\_END**: `"pre_script_end"`

Defined in: [interfaces/HookEvents.ts:15](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L15)

Emitted when a script successfully completes all rules.

***

### ON\_SCRIPT\_ERROR

> **ON\_SCRIPT\_ERROR**: `"on_script_error"`

Defined in: [interfaces/HookEvents.ts:23](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L23)

Emitted if an unhandled error occurs during script execution.

***

### ON\_SCRIPT\_START

> **ON\_SCRIPT\_START**: `"on_script_start"`

Defined in: [interfaces/HookEvents.ts:7](https://github.com/SebaSOFT/neuron-js/blob/aff482a5bc89c6f9dff62f832acdd1bd10d3a175/src/interfaces/HookEvents.ts#L7)

Emitted when the execution of a script starts.
