@clawject/di
Version:
<p align="center"> <a href="https://clawject.com/" target="_blank"><img src="https://clawject.com/img/logo.svg" align="center" alt="Clawject Logo" width="120" height="120" /></a> </p>
25 lines (24 loc) • 564 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransientScope = void 0;
class TransientScope {
get(name, objectFactory) {
return objectFactory.getObject();
}
remove(name) {
return null;
}
registerDestructionCallback(name, callback) {
// do nothing
}
registerScopeBeginCallback(callback) {
// do nothing
}
removeScopeBeginCallback(callback) {
// do nothing
}
useProxy() {
return false;
}
}
exports.TransientScope = TransientScope;