MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / cleanup

Function cleanup

webapp/_webapp/src/intermediate.ts:134–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 reject(err);
133 }
134 function cleanup(): void {
135 window.removeEventListener(`${resEvtName}/${seq}`, resListener);
136 window.removeEventListener(`${errEvtName}/${seq}`, errListener);
137 }
138 window.addEventListener(`${resEvtName}/${seq}`, resListener);
139 window.addEventListener(`${errEvtName}/${seq}`, errListener);
140 if (!opts?.wait) {

Callers 3

resListenerFunction · 0.85
errListenerFunction · 0.85
fnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected