* @returns {boolean | undefined} true when invalidated modules were applied
()
| 545 | * @returns {boolean | undefined} true when invalidated modules were applied |
| 546 | */ |
| 547 | function applyInvalidatedModules() { |
| 548 | if (queuedInvalidatedModules) { |
| 549 | if (!currentUpdateApplyHandlers) currentUpdateApplyHandlers = []; |
| 550 | Object.keys($hmrInvalidateModuleHandlers$).forEach(function (key) { |
| 551 | /** @type {ModuleId[]} */ (queuedInvalidatedModules).forEach( |
| 552 | function (moduleId) { |
| 553 | $hmrInvalidateModuleHandlers$[key]( |
| 554 | moduleId, |
| 555 | /** @type {ApplyHandler[]} */ (currentUpdateApplyHandlers) |
| 556 | ); |
| 557 | } |
| 558 | ); |
| 559 | }); |
| 560 | queuedInvalidatedModules = undefined; |
| 561 | return true; |
| 562 | } |
| 563 | } |
| 564 | }; |
no test coverage detected