Interface Key<Meta>

interface Key<Meta = unknown> {
    meta: undefined | Meta;
    name: string;
    ttl?: number;
}

Type Parameters

  • Meta = unknown

Properties

Properties

meta: undefined | Meta

The metadata stored along the key.

name: string

The name of the key.

ttl?: number

The time-to-live of the key.