Skip to content

ICache

Methods

get()

get(k): Promise<unknown>

Parameters

k: string

Returns

Promise<unknown>

Source

middlewares/cache.ts:7


set()

set(k, v, ttl?): Promise<void>

Parameters

k: string

v: unknown

ttl?: string | number

Returns

Promise<void>

Source

middlewares/cache.ts:8