@thisisagile/easy-express
Version:
Straightforward library for building domain-driven microservice architectures
8 lines (7 loc) • 324 B
TypeScript
import { BaseRequestContext } from '@thisisagile/easy';
export declare class NamespaceContext extends BaseRequestContext {
protected readonly namespace: import("cls-hooked").Namespace<Record<string, any>>;
get<T>(key: string): T;
set<T>(key: string, value: T): T;
readonly create: (f: () => void) => void;
}