* Aborts the currently processing message in this session. * * Use this to cancel a long-running request. The session remains valid * and can continue to be used for new messages. * * @returns A promise that resolves when the abort request is acknowledged * @throws Erro
()
| 1334 | * ``` |
| 1335 | */ |
| 1336 | async abort(): Promise<void> { |
| 1337 | await this.connection.sendRequest("session.abort", { |
| 1338 | sessionId: this.sessionId, |
| 1339 | }); |
| 1340 | } |
| 1341 | |
| 1342 | /** |
| 1343 | * Change the model for this session. |
no test coverage detected