Skip to main content

stopAllProcess

client.application.stopAllProcess(data?: StopAllProcessRequest): Promise<void>

Stops all running processes.

Terminates every active process in the CodeBolt runtime, including agents, terminals, and background tasks. Use with caution.

Parameters

ParameterTypeRequiredDescription
dataStopAllProcessRequestNoOptional configuration for the stop operation

Returns

Promise<void> — A promise that resolves when all processes have been stopped

Example

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

const client = new CodeBoltClient();

const result = await client.application.stopAllProcess();
console.log(result);