ThrottlerModule
class ThrottlerModule {
static forRoot(options: ThrottlerModuleOptions = []): DynamicModule
static forRootAsync(options: ThrottlerAsyncOptions): DynamicModule
}
Static methods
forRoot() | ||||||
---|---|---|---|---|---|---|
Register the module synchronously. |
||||||
Parameters
Returns |
forRootAsync() | ||||||
---|---|---|---|---|---|---|
Register the module asynchronously. |
||||||
Parameters
Returns |