Note: This content was generated by AI. I am working on this page to provide personal content of better quality.
Chain of Responsibility
Nota bene : This content was generated by AI. I am working on this page to provide personal content of better quality.
Pass a request along a chain of handlers until one handles it.
Intent
Decouple senders from handlers (support tiers, middleware).
Python example
Chargement…
Console output
Manager approved 500 Director approved 3000
When to use
Multiple handlers may process a request and order matters.