callSync(name, ...args) {
		if (this.#functions.has(name)) {
			this.#functions.get(name).forEach(func => func(...args));
		}
	}
Calls the functions for a given name with the given arguments.
@param {string} name The name of the function to call.
@param {any[]} args The arguments to pass to the function.
@returns {void}