Search the documentation
8 pages for settimeout.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
bash-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/bash-tool
…onst timedOut = new Promise<never>((_, reject) => { timer = setTimeout(() => reject(new Error("timeout")), timeoutMs); }); try { return await Promise.race([session.…
computer-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/computer-use-tool
…, waitMs = 500): Promise<void> { clickAt(x, y); await setTimeout(waitMs); // Allow UI to update } ``` ```csharp C# static void ClickAndWait(int x, int y, doubl…
Message Batches API
Claude Developer Platform · in the page
build-with-claude/batch-processing
…is still processing... waiting`); await new Promise((resolve) => setTimeout(resolve, 60_000)); } console.log(messageBatch); ``` ```csharp C# AnthropicClient client = new(); string me…
Streaming Input
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…Wait for conditions or user input await new Promise((resolve) => setTimeout(resolve, 2000)); // Follow-up with image yield { type: "user", message: { role: "user",…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…clearTimeout(copyTimeoutRef.current); copyTimeoutRef.current = setTimeout(() => setCopiedId(null), 2000); }; const fallback = () => { const ta = document.createElement('textarea')…
Prompt library
Claude Code CLI · in the page
prompt-library
…imeout(copyTimer.current); setCopied(id); copyTimer.current = setTimeout(() => setCopied(null), 1600); }; const promptBody = p => { if (!p.slots) return <code>{p.prompt}</code>; co…
All settings
Claude Code CLI · in the page
settings-reference
…ly(''); let retryTimer; if (total === 0) { retryTimer = setTimeout(() => { tablesRef.current = null; if (apply(qRef.current) > 0) deriveFacets(tablesRef.current); else se…
Supersede older widget instances
Claude Documentation · in the page
connectors/building/mcp-apps/instance-supersession
…y = await Promise.race([ serverKeyReady, new Promise<null>((r) => setTimeout(() => r(null), 1000)), ]); orderKey = serverKey?.orderKey ?? Date.now(); seq = serverKey?.seq; keyFinalized = true; ann…