Skip to main content

getAppFromCache

client.apps.getAppFromCache(params?: AppCacheParams): Promise<unknown>

Retrieves an app's data from the cache.

Returns the cached representation of an app for fast access, avoiding a full database or filesystem lookup.

Parameters

ParameterTypeRequiredDescription
paramsAppCacheParamsNoOptional cache parameters identifying the app

Returns

Promise<unknown> — A promise that resolves to the cached app data

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.apps.getAppFromCache();
console.log(result);