MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / cancelAutoApprovalTimeout

Method cancelAutoApprovalTimeout

src/core/task/Task.ts:1479–1484  ·  view source on GitHub ↗

* Cancel any pending auto-approval timeout. * Called when user interacts (types, clicks buttons, etc.) to prevent the timeout from firing.

()

Source from the content-addressed store, hash-verified

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)

Callers 2

webviewMessageHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected