method
RedisClient.expiretime
): Promise<number>;
Get the expiration time of a key as a UNIX timestamp in seconds
@param key
The key to check
@returns
Promise that resolves with the timestamp, or -1 if the key has no expiration, or -2 if the key doesn't exist
Referenced types
type KeyLike = string | ArrayBufferView | Blob