Home > @imqueue/rpc > IMQCache > apply
IMQCache.apply() method
Overrides existing adapter options with the given ones.
Signature:
static apply(adapter: ICacheAdapter | string, options: any): typeof IMQCache;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
adapter |
ICacheAdapter | string |
adapter to apply options to |
|
options |
any |
adapter-specific options |
Returns:
typeof IMQCache
{IMQCache}