Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 751 Bytes

faastjs.persistentcache.get.md

File metadata and controls

55 lines (30 loc) · 751 Bytes
id title hide_title
faastjs.persistentcache.get
PersistentCache.get() method
true

faastjs > PersistentCache > get

PersistentCache.get() method

Retrieves the value previously set for the given key, or undefined if the key is not found.

Signature:

get(key: string): Promise<Buffer | undefined>;

Parameters

Parameter

Type

Description

key

string

**Returns:**

Promise<Buffer | undefined>