ElasticsearchModuleAsyncOptions
interface ElasticsearchModuleAsyncOptions extends Pick {
useExisting?: Type<ElasticsearchOptionsFactory>
useClass?: Type<ElasticsearchOptionsFactory>
useFactory?: (...args: any[]) => Promise<ElasticsearchModuleOptions> | ElasticsearchModuleOptions
inject?: any[]
}
Properties
Property | Description |
---|---|
useExisting?: Type<ElasticsearchOptionsFactory>
|
The |
useClass?: Type<ElasticsearchOptionsFactory>
|
The |
useFactory?: (...args: any[]) => Promise<ElasticsearchModuleOptions> | ElasticsearchModuleOptions
|
The |
inject?: any[]
|
Optional list of providers to be injected into the context of the Factory function. |