MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / off

Function off

src/handlers/quickTools.js:192–194  ·  view source on GitHub ↗

* Remove listener * @param {QuickToolsEvent} event QuickTools event * @param {QuickToolsEventListener} callback Callback to remove

(event, callback)

Source from the content-addressed store, hash-verified

190 * @param {QuickToolsEventListener} callback Callback to remove
191 */
192 off(event, callback) {
193 events[event] = events[event].filter((cb) => cb !== callback);
194 },
195};
196
197/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected