execute(...args) {
			return this.#allowMultiple ?
				this.#callbacks.map((callback) => callback(...args)) :
				this.#callbacks?.(...args);
		}
Executes the registered callback for this hook.

@param {any} args Arguments to pass to the callback function(s).
@returns {any|any[]} Returns the result of the callback(s). If multiple callbacks
						are registered, returns an array of results will be returned.
						If a single callback is registered, it will return the result directly.
						If no callback is registered, the function returns 'undefined'.