UNPKG

@nova-ts/context

Version:

A TypeScript library for Dependency Injection

17 lines (16 loc) 376 B
// src/Abstract/ExcutionContextFactory.ts function createExecutionContext(target, methodName, handler, args) { const store = /* @__PURE__ */ new Map(); return { target, methodName, handler, args, setData: (k, v) => store.set(k, v), getData: (k) => store.get(k) }; } export { createExecutionContext }; //# sourceMappingURL=chunk-TPTXKHA7.js.map