Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript
304 B
Raw Blame
/**
 * Sends one telemetry row and forgets it: a missing `$.telemetry` (no
 * telemetry built-in) throws synchronously, a refused row rejects; both drop.
 *
 * @param send posts the row
 */
export function safely(send: () => Promise<void>) {
  try {
    void send().catch(() => undefined)
  } catch {}
}