MCPcopy Create free account
hub / github.com/Noumena-Network/code / close

Method close

src/remote/appServer/client.ts:221–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219 }
220
221 close(): void {
222 if (this.closed) {
223 return
224 }
225 this.closed = true
226 for (const waiter of this.waiters.splice(0)) {
227 waiter(undefined)
228 }
229 }
230}
231
232function timeoutPromise<T>(

Callers 4

disconnectMethod · 0.45
closeMethod · 0.45
client.test.tsFile · 0.45
closeFunction · 0.45

Calls

no outgoing calls

Tested by 1

closeFunction · 0.36