0
What is Chain of Responsibility pattern?

Open 1 Answers 15 Views Education

What is Chain of Responsibility pattern?

1 Answer

0

What is Chain of Responsibility pattern?

As the name suggests, the chain of responsibility pattern creates a chain of receiver objects for a request. This pattern decouples sender and receiver of a request based on type of request. This pattern comes under behavioral patterns.

In this pattern, normally each receiver contains reference to another receiver. If one object cannot handle the request then it passes the same to the next receiver and so on.

by (52.6k points)
...