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