MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / connect

Method connect

projects/runtime-client/src/client.ts:281–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279 }
280
281 async connect(): Promise<void> {
282 if (this.connected) return
283 if (this.connecting) return this.connecting
284 this.connecting = this.connectOnce()
285 try {
286 await this.connecting
287 } finally {
288 this.connecting = null
289 }
290 }
291
292 private async connectOnce(): Promise<void> {
293 await this.transport.connect()

Callers 2

requestMethod · 0.95
subscribeMethod · 0.95

Calls 1

connectOnceMethod · 0.95

Tested by

no test coverage detected