Skip to content

Cache

The cache used by the ApiClient to store responses.

Method

get - gets a value from the cache

Method

set - sets a value in the cache

Methods

get()

get<T>(key, ...args): Promise<T>

Type parameters

T

Parameters

key: string

• …args: unknown[]

Returns

Promise<T>

Source

types.ts:194


set()

set<T>(
key,
value, ...
args): Promise<unknown>

Type parameters

T

Parameters

key: string

value: T

• …args: unknown[]

Returns

Promise<unknown>

Source

types.ts:195