Title here
Summary here
Unlike addons, which extend functionality by adding components, hooks enable services to listen and respond to the dynamic state changes of entities like applications or services within Oakestra.
Lifecycle events refer to different stages in the existence of entities managed by Oakestra. Hooks focus on three primary event types for entities:
When an event is triggered, all registered subscribers are notified, allowing them to take necessary actions based on the entity’s current lifecycle stage.
Hooks can be triggered in two modes:
Why should you use hooks?
Read up on how to set up hooks within Oakestra