UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

10 lines 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.requestContext = void 0; exports.requestContextMixin = requestContextMixin; const node_async_hooks_1 = require("node:async_hooks"); exports.requestContext = new node_async_hooks_1.AsyncLocalStorage(); function requestContextMixin() { return exports.requestContext.getStore() ?? {}; } //# sourceMappingURL=request-context.js.map