(queue, arg)
| 79 | } |
| 80 | |
| 81 | function executeCallbacks(queue, arg) { |
| 82 | for (const callback of queue) { |
| 83 | try { |
| 84 | callback(arg); |
| 85 | } catch (e) { |
| 86 | console.error("error running callback", callback, ":", e); |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Schedule the execution of the callbacks registered with onAfterUiUpdate. |
no test coverage detected