Chain of responsibility
When there are multiple processors to handle one request based on different request, and if current processor is not able to handle it will pass the request to next processor, in this case, we can apply chain of responsibility pattern to decouple requestor
原创
2021-11-21 11:04:45 ·
65 阅读 ·
0 评论