MCPcopy Create free account
hub / github.com/appium/appium / removeWebSocketHandler

Function removeWebSocketHandler

packages/storage-plugin/test/unit/plugin.spec.ts:322–327  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

320 mapping[path] = handler;
321 },
322 async removeWebSocketHandler(path: string) {
323 server.removals++;
324 mapping[path]?.close();
325 delete mapping[path];
326 return true;
327 },
328 };
329 return server as unknown as AppiumServer & {registrations: number; removals: number};
330}

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected