The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

Class: default<V\>

cache/redis/src.default

Type parameters#

NameType
VV = string

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

new default<V\>(options?)

Type parameters#

NameType
VV = string

Parameters#

NameType
optionsany

Defined in#

packages/cache/redis/src/index.ts:10

Methods#

delete#

delete(key): Promise<boolean\>

Parameters#

NameType
keystring

Returns#

Promise<boolean\>

Implementation of#

KeyValueCache.delete

Defined in#

packages/cache/redis/src/index.ts:69


get#

get(key): Promise<V\>

Parameters#

NameType
keystring

Returns#

Promise<V\>

Implementation of#

KeyValueCache.get

Defined in#

packages/cache/redis/src/index.ts:60


set#

set(key, value, options?): Promise<void\>

Parameters#

NameType
keystring
valueV
options?KeyValueCacheSetOptions

Returns#

Promise<void\>

Implementation of#

KeyValueCache.set

Defined in#

packages/cache/redis/src/index.ts:51