@expressots/core
Version:
Expressots - modern, fast, lightweight nodejs web framework (@core)
18 lines (17 loc) • 434 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Context = void 0;
const id_1 = require("../utils/id");
class Context {
constructor(container) {
this.id = (0, id_1.id)();
this.container = container;
}
addPlan(plan) {
this.plan = plan;
}
setCurrentRequest(currentRequest) {
this.currentRequest = currentRequest;
}
}
exports.Context = Context;
;