Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CacheModuleAsyncOptions

Options for dynamically configuring the Cache module.

see

Async configuration

publicapi

Hierarchy

  • {}
    • CacheModuleAsyncOptions

Index

Properties

Optional extraProviders

extraProviders: Provider[]

Optional inject

inject: any[]

Dependencies that a Factory may inject.

Optional useClass

Injection token resolving to a class that will be instantiated as a provider. The class must implement the CacheOptionsFactory interface.

Optional useExisting

Injection token resolving to an existing provider. The provider must implement the CacheOptionsFactory interface.

Optional useFactory

useFactory: (...args: any[]) => Promise<CacheModuleOptions> | CacheModuleOptions

Function returning options (or a Promise resolving to options) to configure the cache module.

Type declaration

Generated using TypeDoc