@lppedd/di-wise-neo - v0.6.0
    Preparing search index...

    Variable Injector

    Injector: Type<Injector>

    Injector token for dynamic injections.

    class Wizard {
    private injector = inject(Injector);
    private wand?: Wand;

    getWand(): Wand {
    return (this.wand ??= this.injector.inject(Wand));
    }
    }

    const wizard = container.resolve(Wizard);
    wizard.getWand(); // => Wand