(id: string, task: CompleteTaskBodyV2Input)
| 1474 | } |
| 1475 | |
| 1476 | async #doCompleteTask(id: string, task: CompleteTaskBodyV2Input) { |
| 1477 | try { |
| 1478 | return await this._apiClient.completeTask(this._id, id, task); |
| 1479 | } catch (error) { |
| 1480 | return; |
| 1481 | } |
| 1482 | } |
| 1483 | |
| 1484 | #detectAutoYield(location: string, threshold: number = 1500, task?: ServerTask, output?: string) { |
| 1485 | const timeRemaining = this.#getRemainingTimeInMillis(); |
no test coverage detected