Skip to main content

stopProcess

codebolt.chat.stopProcess(): void
Stops the ongoing process. Sends a specific message to the server to stop the process.

Example


// Notify the server that a process has started
await codebolt.chat.processStarted();

// Execute our functionality after perform all the operation than stop the chat Process

// Call the function to start and stop the process
await codebolt.chat.startAndStopProcess();

Explanation

The codebolt.chat.stopProcess() function is used to halt an ongoing process within a Codebolt chat. When this function is called, it stops the current process in the Codebolt chat.