Interface: Cache <T>

Type parameters

T

Hierarchy

  • Cache

Implemented by

Methods

read

read(key: string): T | undefined | Promise‹T | undefined›

Defined in cache/cache.ts:3

Parameters:

Name Type
key string

Returns: T | undefined | Promise‹T | undefined›


write

write(key: string, value: T): void | Promise‹void›

Defined in cache/cache.ts:2

Parameters:

Name Type
key string
value T

Returns: void | Promise‹void›