Interface Timeout

type: Timeout

Hierarchy

  • Timeout

Properties

Properties

expireAt?: number

key will be expired in given Unix timestamp (seconds since epoch)

  • ignored if 'expireIn' is provided
  • not accurate because this value is replaced to time to live in seconds using Math.ceil()
expireIn?: number

key will be expired after given number of seconds

Generated using TypeDoc