dino-core
Version:
A dependency injection framework for NodeJS applications
11 lines (10 loc) • 472 B
TypeScript
import { type AwilixContainer } from 'awilix';
import { type ComponentDescriptor } from '../model/ComponentDescriptor';
import { type ApplicationContext } from './ApplicationContext';
export declare class ContextScope {
private readonly scope;
private readonly applicationContext;
constructor(scope: AwilixContainer, applicationContext: ApplicationContext);
register(componentDescriptor: ComponentDescriptor): ContextScope;
dispose(): Promise<void>;
}