resume
client.threads.resume(threadId: string): Promise<void>
Resumes execution of a paused thread.
Reactivates a thread that was previously paused, allowing it to continue its operations from where it left off. The thread will return to an active state and continue processing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
threadId | string | Yes | The unique identifier of the thread to resume |
Returns
Promise<void> — A promise that resolves when the thread has been resumed
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.threads.resume('threadId');
console.log(result);