* Cancel any pending auto-approval timeout. * Called when user interacts (types, clicks buttons, etc.) to prevent the timeout from firing.
()
| 1477 | * Called when user interacts (types, clicks buttons, etc.) to prevent the timeout from firing. |
| 1478 | */ |
| 1479 | public cancelAutoApprovalTimeout(): void { |
| 1480 | if (this.autoApprovalTimeoutRef) { |
| 1481 | clearTimeout(this.autoApprovalTimeoutRef) |
| 1482 | this.autoApprovalTimeoutRef = undefined |
| 1483 | } |
| 1484 | } |
| 1485 | |
| 1486 | public approveAsk({ text, images }: { text?: string; images?: string[] } = {}) { |
| 1487 | this.handleWebviewAskResponse("yesButtonClicked", text, images) |
no outgoing calls
no test coverage detected