MCPcopy Index your code
hub / github.com/Fiddle-Digital/string-scroll / off

Method off

src/EventManager.ts:19–24  ·  view source on GitHub ↗
(id: string, event: Function)

Source from the content-addressed store, hash-verified

17 }
18 }
19 public off(id: string, event: Function) {
20 let ea = this.events.get(id)
21 if (ea!=null) {
22 this.events.set(id, ea.filter((h: any) => h !== event))
23 }
24 }
25}

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected