Created by: pan-alexey
Current methods are located here and here
Implementation of the validation method [check]|(https://github.com/webpack/webpack/blob/main/lib/hmr/HotModuleReplacement.runtime.js#L259) always return Promise with null or Array of modules
Implementation of the validation method [apply]|(https://github.com/webpack/webpack/blob/main/lib/hmr/HotModuleReplacement.runtime.js#L309) always return Promise with Array of modules