* Iterate over all functions, calling %%callback%%, sorted by their name.
(callback)
| 363 | * Iterate over all functions, calling %%callback%%, sorted by their name. |
| 364 | */ |
| 365 | forEachFunction(callback) { |
| 366 | const names = Array.from(this.#functions.keys()); |
| 367 | names.sort((a, b) => a.localeCompare(b)); |
| 368 | for (let i = 0; i < names.length; i++) { |
| 369 | const name = names[i]; |
| 370 | callback((this.#functions.get(name)), i); |
| 371 | } |
| 372 | } |
| 373 | // Find an event definition by any means necessary (unless it is ambiguous) |
| 374 | #getEvent(key, values, forceUnique) { |
| 375 | // EventTopic |