MCPcopy Create free account
hub / github.com/tiann/hapi / hasVisibleConnection

Method hasVisibleConnection

hub/src/visibility/visibilityTracker.ts:40–43  ·  view source on GitHub ↗
(namespace: string)

Source from the content-addressed store, hash-verified

38 }
39
40 hasVisibleConnection(namespace: string): boolean {
41 const visible = this.visibleConnections.get(namespace)
42 return Boolean(visible && visible.size > 0)
43 }
44
45 isVisibleConnection(subscriptionId: string): boolean {
46 const namespace = this.subscriptionToNamespace.get(subscriptionId)

Callers 3

sendPermissionRequestMethod · 0.80
sendReadyMethod · 0.80
sendTaskNotificationMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected