CacheService.get()
Home > @backstage/backend-plugin-api
> CacheService
> get
Reads data from a cache store for the given key. If no data was found, returns undefined.
Signature:
get<TValue extends JsonValue>(key: string): Promise<TValue | undefined>;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
string |
Promise<TValue | undefined>