Asynchronous configuration for a smart module factory, mirroring the conventional NestJS registerAsync options shape.
registerAsync
imports are applied to the generated config module itself, so inject resolves from those modules even when they are not global.
imports
inject
Optional
Modules whose exported providers may be injected into useFactory.
useFactory
Injection tokens resolved and passed to useFactory as arguments.
Produces the configuration object (sync or async).
Asynchronous configuration for a smart module factory, mirroring the conventional NestJS
registerAsyncoptions shape.importsare applied to the generated config module itself, soinjectresolves from those modules even when they are not global.