* Removes the given callback from the given event * @param {'update' | 'reset'} event * @param {function():void} callback
(event, callback)
| 366 | * @param {function():void} callback |
| 367 | */ |
| 368 | off(event, callback) { |
| 369 | if (!this.#on[event]) this.#on[event] = []; |
| 370 | this.#on[event].splice(this.#on[event].indexOf(callback), 1); |
| 371 | } |
| 372 | |
| 373 | /** |
| 374 | * Gets a setting with the given key |
no outgoing calls
no test coverage detected