MCPcopy Index your code
hub / github.com/TanStack/devtools / connect

Method connect

packages/event-bus/src/client/client.ts:258–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256 }
257
258 private connect() {
259 try {
260 this.connectWebSocket()
261 } catch {
262 // Do not try to connect if we're on the server side
263 if (typeof window === 'undefined') return
264 this.connectSSE()
265 }
266 }
267
268 private handleEventReceived(data: string) {
269 try {

Callers 1

startMethod · 0.95

Calls 2

connectWebSocketMethod · 0.95
connectSSEMethod · 0.95

Tested by

no test coverage detected