MCPcopy
hub / github.com/codeaashu/claude-code / tick

Method tick

src/cli/transports/ccrClient.ts:687–693  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

685 this.heartbeatTimer = setTimeout(tick, this.heartbeatIntervalMs + jitter)
686 }
687 const tick = (): void => {
688 void this.sendHeartbeat()
689 // stopHeartbeat nulls the timer; check after the fire-and-forget send
690 // but before rescheduling so close() during sendHeartbeat is honored.
691 if (this.heartbeatTimer === null) return
692 schedule()
693 }
694 schedule()
695 }
696

Callers

nothing calls this directly

Calls 2

sendHeartbeatMethod · 0.95
scheduleFunction · 0.85

Tested by

no test coverage detected