@carlosv2/glue
Version:
Dependency injection library that stays out of the way
15 lines • 618 B
TypeScript
import type { Buildable } from '../buildable.js';
import { type RunningContext } from '../context/index.js';
import type { Maybe } from '../utils.js';
import { Service, type Tag } from '../service.js';
type Builder = (context: RunningContext) => unknown | Promise<unknown>;
export declare class Runtime extends Service {
private readonly builder;
constructor(builder: Builder, scope?: Maybe<string>, tags?: Tag[], calls?: {
method: Buildable;
params: Buildable[];
}[]);
protected instantiate(context: RunningContext): Promise<unknown>;
}
export {};
//# sourceMappingURL=runtime.d.ts.map