* Assuming this module is in the cache. Update the (cached) module with * the fresh module from the factory. Usually updates internal references * and properties. * @param {Module} module fresh module * @returns {void}
(module)
| 1210 | * @returns {void} |
| 1211 | */ |
| 1212 | updateCacheModule(module) { |
| 1213 | this.type = module.type; |
| 1214 | this.layer = module.layer; |
| 1215 | this.context = module.context; |
| 1216 | this.factoryMeta = module.factoryMeta; |
| 1217 | this.resolveOptions = module.resolveOptions; |
| 1218 | } |
| 1219 | |
| 1220 | /** |
| 1221 | * Module should be unsafe cached. Get data that's needed for that. |