Interceptors iħawwdu l-eżekuzzjoni ta' route handler, u jippermettulek li ċċarrej logika qabel u wara - u ttrasforma r-request jew ir-response. Huma inspirati minn aspect-oriented programming, ideali għal cross-cutting concerns bħal logging, response transformation, caching, u timing.
L-istruttura: qabel + wara via RxJS
()
{
(: , : ): <> {
.();
now = .();
next.().(
( .()),
);
}
}
