Function: closeHotModule()
ts
function closeHotModule(): boolean;Defined in: src/wirestate-core/hot/hot-registry.ts:145
Marks the end of a hot module's evaluation and registers the classes it declared.
Returns
boolean
Whether the module declares, or previously declared, hot-swappable classes. The plugin footer accepts the module's own hot updates only in that case.
Remarks
Injected by the dev bundler plugin as the last statement of a module. Registration follows registerHotModule, so a replaced class becomes available to the next requestHotSwap and a disappeared class requests a page reload.