(
params: ThreadGoalClearParams,
options?: { signal?: AbortSignal }
)
| 241 | } |
| 242 | |
| 243 | async clearThreadGoal( |
| 244 | params: ThreadGoalClearParams, |
| 245 | options?: { signal?: AbortSignal } |
| 246 | ): Promise<ThreadGoalClearResponse> { |
| 247 | const response = await this.sendRequest('thread/goal/clear', params, { |
| 248 | signal: options?.signal, |
| 249 | timeoutMs: 30_000 |
| 250 | }); |
| 251 | return response as ThreadGoalClearResponse; |
| 252 | } |
| 253 | |
| 254 | async disconnect(): Promise<void> { |
| 255 | if (!this.connected) { |
no test coverage detected