MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / off

Method off

projects/web/src/electronAPI/pty.ts:149–155  ·  view source on GitHub ↗
(event: string, handler: EventHandler)

Source from the content-addressed store, hash-verified

147 }
148
149 off(event: string, handler: EventHandler): void {
150 const handlers = this.listeners.get(event)
151 if (handlers) {
152 const idx = handlers.indexOf(handler)
153 if (idx >= 0) handlers.splice(idx, 1)
154 }
155 }
156
157 async write(data: string): Promise<void> {
158 if (!window.openadeAPI || this._exited) return

Callers 7

onDoneFunction · 0.45
cleanupFunction · 0.45
cleanupFunction · 0.45
startCompanionServerFunction · 0.45
getYDocMethod · 0.45
getYDocMethod · 0.45
serveRuntimeNodeHttpFunction · 0.45

Calls 1

getMethod · 0.65

Tested by 3

onDoneFunction · 0.36
cleanupFunction · 0.36
cleanupFunction · 0.36