RedisAdapter
ref / storages / redis / RedisAdapter
Implements
ts
StorageAdapter<T>
Type Parameters
T
ts
T
Constructors
ts
RedisAdapter({ instance, ttl, autoParseDates }: {
instance?: Client; ttl?: number; autoParseDates?: boolean
});
Methods
read
ts
read(key: string);
write
delete
ts
delete(key: string): Promise<void>;