faastjs.persistentcache.get.md
April 5, 2024 ยท View on GitHub
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 |
Promise<Buffer | undefined>