MCPcopy Create free account
hub / github.com/TanStack/devtools / stopConnectLoop

Method stopConnectLoop

packages/event-bus-client/src/plugin.ts:97–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 private stopConnectLoop() {
98 this.#connecting = false
99
100 if (this.#connectIntervalId === null) {
101 return
102 }
103 clearInterval(this.#connectIntervalId)
104 this.#connectIntervalId = null
105 this.#queuedEvents = []
106 this.debugLog('Stopped connect loop')
107 }
108
109 private debugLog(...args: Array<any>) {
110 if (this.#debug) {

Callers 1

EventClientClass · 0.95

Calls 1

debugLogMethod · 0.95

Tested by

no test coverage detected