* @param {ApplyOptions=} options apply options * @returns {Promise<ModuleId[]>} updated module ids
(options)
| 430 | * @returns {Promise<ModuleId[]>} updated module ids |
| 431 | */ |
| 432 | function hotApply(options) { |
| 433 | if (currentStatus !== "ready") { |
| 434 | return Promise.resolve().then(function () { |
| 435 | throw new Error( |
| 436 | "apply() is only allowed in ready status (state: " + |
| 437 | currentStatus + |
| 438 | ")" |
| 439 | ); |
| 440 | }); |
| 441 | } |
| 442 | return internalApply(options); |
| 443 | } |
| 444 | |
| 445 | /** |
| 446 | * @param {boolean | ApplyOptions=} options apply options |
nothing calls this directly
no test coverage detected