(
params: ThreadGoalGetParams,
options?: { signal?: AbortSignal }
)
| 230 | } |
| 231 | |
| 232 | async getThreadGoal( |
| 233 | params: ThreadGoalGetParams, |
| 234 | options?: { signal?: AbortSignal } |
| 235 | ): Promise<ThreadGoalGetResponse> { |
| 236 | const response = await this.sendRequest('thread/goal/get', params, { |
| 237 | signal: options?.signal, |
| 238 | timeoutMs: 30_000 |
| 239 | }); |
| 240 | return response as ThreadGoalGetResponse; |
| 241 | } |
| 242 | |
| 243 | async clearThreadGoal( |
| 244 | params: ThreadGoalClearParams, |
no test coverage detected