(queue, arg)
| 93 | } |
| 94 | |
| 95 | function executeCallbacks(queue, arg) { |
| 96 | for (const callback of queue) { |
| 97 | try { |
| 98 | callback(arg); |
| 99 | } catch (e) { |
| 100 | console.error("error running callback", callback, ":", e); |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * Schedule the execution of the callbacks registered with onAfterUiUpdate. |
no test coverage detected