Notify a Handler on Change
Wire a task to fire a handler.
Restart Only When Needed
Restarting a service on every run is wasteful and risky. A handler lets you restart it only when something actually changed.
What a Handler Is
A handler is just a task that sits idle until a regular task tells it to run. Think of it as an action waiting for a signal.
All lessons in this course
- Notify a Handler on Change
- Defining Handlers & Restart Patterns
- When Handlers Run & flush_handlers
- Listen: One Trigger, Many Handlers