MCPcopy
hub / github.com/webpack/webpack / isAsync

Method isAsync

lib/ModuleGraph.js:902–905  ·  view source on GitHub ↗

* Checks whether this module graph is async. * @param {Module} module the module * @returns {boolean} true, if the module is async

(module)

Source from the content-addressed store, hash-verified

900 * @returns {boolean} true, if the module is async
901 */
902 isAsync(module) {
903 const mgm = this._getModuleGraphModule(module);
904 return mgm.async;
905 }
906
907 /**
908 * Checks whether this module graph is deferred.

Callers 11

isDeferredMethod · 0.95
renderStartupMethod · 0.80
applyMethod · 0.80
getOutgoingAsyncModulesFunction · 0.80
generateMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
_addExportFragmentsMethod · 0.80
applyMethod · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected