MCPcopy Create free account
hub / github.com/codeaashu/claude-code / schedule

Method schedule

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

Source from the content-addressed store, hash-verified

678 private startHeartbeat(): void {
679 this.stopHeartbeat()
680 const schedule = (): void => {
681 const jitter =
682 this.heartbeatIntervalMs *
683 this.heartbeatJitterFraction *
684 (2 * Math.random() - 1)
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

Callers 2

runBridgeLoopFunction · 0.80
scheduleBackoffRetryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected