chain-effective-decoupling

Status: OUT

The Chain of Responsibility pattern effectively decouples senders from receivers by passing requests along a chain of candidate handlers until one accepts responsibility.

Justifications

Chain's decoupling benefits hold unless type-safety degradation from custom dispatch outweighs flexibility

Depends on (SL): chain-of-responsibility-implicit-receiver, four-patterns-decouple-senders-receivers

Unless: chain-of-responsibility-type-safety-drawback

JSON