Skip to main content

updateAppState

client.application.updateAppState(data: UpdateAppStateRequest): Promise<void>

Updates the application state.

Applies changes to the application state, persisting the updated configuration across sessions.

Parameters

ParameterTypeRequiredDescription
dataUpdateAppStateRequestYesThe state update payload

Returns

Promise<void> — A promise that resolves when the state has been updated

Example

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

const client = new CodeBoltClient();

const result = await client.application.updateAppState(/* UpdateAppStateRequest */);
console.log(result);