faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

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>

  • PersistentCache.get() method
  • Parameters
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflowfaast.js
More
BlogUser Showcase
Copyright © 2025 Andy Chou