Skip to main content

updateAppToCache

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

Updates an app's data in the cache.

Refreshes the cached representation of an app, ensuring that the latest metadata is available without a full reload.

Parameters

ParameterTypeRequiredDescription
paramsAppCacheParamsNoOptional cache parameters identifying the app

Returns

Promise<unknown> — A promise that resolves when the cache has been updated

Example

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

const client = new CodeBoltClient();

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