MCPcopy Create free account
hub / github.com/composify-js/composify / dispose

Method dispose

packages/react/src/utils/Bridge/Bridge.ts:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 public dispose() {
41 this.abort.abort();
42 this.listeners.forEach((listeners) => {
43 listeners.clear();
44 });
45 this.listeners.clear();
46 }
47
48 private handle(message: MessageEvent) {
49 if (message.source !== this.target) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected