typeioc

Home > typeioc > IDecoratorRegistration > lazy

IDecoratorRegistration.lazy() method

Specifies lazy registration. Resolution of services is differed until results are needed by other services/computations

Signature:

lazy(): WithDecoratorRegisterLazy<T>;

Returns:

WithDecoratorRegisterLazy<T>