MCPcopy
hub / github.com/npmx-dev/npmx.dev / disconnect

Method disconnect

cli/src/mock-state.ts:118–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 disconnect(): void {
119 this.state.connected = false
120 this.state.connectedAt = null
121 this.state.operations = []
122 }
123
124 isConnected(): boolean {
125 return this.state.connected

Callers 2

setupObserverFunction · 0.80
useActiveTocItemFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected