Skip to content

Type Alias: MultipleSetInput ​

MultipleSetInput = object

An entry written by Cacher.multipleSet.

Properties ​

key ​

key: string

The key of the entry.


ttl? ​

optional ttl?: number

The entry's time to live, in milliseconds; 0 never expires.

Default ​

the cache's ttl option (never expires without it)


value ​

value: any

The value to cache. The stores other than the memory one keep it as JSON (see Cacher).

Released under the MIT License.