Cache.set() method
Set a value by key.
Signature:
set(key: any, value: unknown, options?: CacheSetOptions): this;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
any | |
value |
unknown | |
options |
(Optional) |
this
Set a value by key.
Signature:
set(key: any, value: unknown, options?: CacheSetOptions): this;
Parameter |
Type |
Description |
---|---|---|
key |
any | |
value |
unknown | |
options |
(Optional) |
this