getAppState
client.application.getAppState(): Promise<AppState>
Retrieves the current application state.
Returns the full application state object containing the active configuration, user preferences, and runtime status.
Parameters
No parameters.
Returns
Promise<AppState> — A promise that resolves to the current AppState object
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.application.getAppState();
console.log(result);