id | title | hide_title |
---|---|---|
faastjs.persistentcache.get |
PersistentCache.get() method |
true |
faastjs > PersistentCache > get
Retrieves the value previously set for the given key, or undefined if the key is not found.
Signature:
get(key: string): Promise<Buffer | undefined>;
Parameter |
Type |
Description |
---|---|---|
key |
string |
Promise<Buffer | undefined>