Mid
From PDF
GoF Patterns
Gang of Four Patterns
Passing Requests Along the Chain:?
- If a handler can't process a message, it passes the request along to the next
handler in the chain (i.e., by calling NextLogger?.LogMessage(...)).
This continues until a handler processes the message or the chain is
exhausted.
Key Benefits of the Chain of Responsibility Pattern:
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png