इंटरसेप्टर्स route handler च्या execution ला wrap करतात, ज्यामुळे तुम्ही logic before आणि after चलवू शकता — आणि request किंवा response ला transform करू शकता. ते aspect-oriented programming वरून प्रेरित आहेत, logging, response transformation, caching, आणि timing सारख्या cross-cutting concerns साठी आदर्श आहेत.
रचना: before + after via RxJS
()
{
(: , : ): <> {
.();
now = .();
next.().(
( .()),
);
}
}
