MCPcopy Create free account
hub / github.com/cameri/nostream / closeTorClient

Function closeTorClient

src/tor/client.ts:178–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 return client
177}
178export const closeTorClient = async () => {
179 if (client) {
180 await client.quit()
181 client = undefined
182 }
183}
184
185export const addOnion = async (port: number, host?: string): Promise<string> => {
186 let privateKey = null

Callers 1

onion.spec.tsFile · 0.90

Calls 1

quitMethod · 0.80

Tested by

no test coverage detected