Too Long; Didn't Read
This article will be about the Interceptor design pattern and its usage via Ts.ED.
In brief, the pattern injects some logical functionality before and/or after function execution.
It has the same nature as the Middleware, but instead of working with a request pipeline, the interceptor handle function invocation and can repeat function execution with different parameters.
Let’s assume the scenario where it could be helpful. I have a service that sends requests to some black box. And the black box is not so friendly and in case of exception very possible, there will be only an HTTP status code without any explanation.