(msg: Message)
| 456 | public suppressWriteErrors = false; |
| 457 | |
| 458 | public override async write(msg: Message): Promise<void> { |
| 459 | try { |
| 460 | await super.write(msg); |
| 461 | } catch (error) { |
| 462 | if (!this.suppressWriteErrors) { |
| 463 | throw error; |
| 464 | } |
| 465 | } |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | export class CopilotClient { |
no outgoing calls