🔗 NestJS Async Context based on async_hooks
-
Updated
Oct 17, 2023 - TypeScript
🔗 NestJS Async Context based on async_hooks
Store context in http request's lifecycle.
A formal architectural pattern for resolving and accessing context that is derived from the current request, such as the tenant, user, or locale.
A modular, production-grade utility toolkit for Node.js and TypeScript, designed for robust, scalable applications (including Express-based services). All utilities are tree-shakable and can be imported independently.
Simple tools for NestJS framework and REST APIs
Generic AsyncLocalStorage wrapper for context management
AsyncLocalStorage request context (requestId, traceId) for Node.js logging and tracing.
Add a description, image, and links to the request-context topic page so that developers can more easily learn about it.
To associate your repository with the request-context topic, visit your repo's landing page and select "manage topics."