@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.
9 lines • 347 B
TypeScript
import { AsyncLocalStorage } from 'node:async_hooks';
export interface RequestContext {
requestId?: string;
tenantId?: string;
userId?: string;
}
export declare const requestContext: AsyncLocalStorage<RequestContext>;
export declare function requestContextMixin(): Partial<RequestContext>;
//# sourceMappingURL=request-context.d.ts.map