Tag
rxjs
Published articles tagged rxjs.
Interceptors in NestJS
An interceptor wraps a NestJS route handler, so it can act both before the handler runs and on whatever the handler returns. This chapter covers the NestInterceptor contract, the RxJS operators that do most of the work, and the built-in interceptors for serialization and caching.