MCPcopy Index your code
hub / github.com/angular/angular / compileModuleAsync

Method compileModuleAsync

packages/core/src/linker/compiler.ts:45–47  ·  view source on GitHub ↗

* Compiles the given NgModule and all of its components

(moduleType: Type<T>)

Source from the content-addressed store, hash-verified

43 * Compiles the given NgModule and all of its components
44 */
45 compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {
46 return Promise.resolve(this.compileModuleSync(moduleType));
47 }
48
49 /**
50 * Clears all caches.

Callers 3

bootstrap_spec.tsFile · 0.45
module.tsFile · 0.45
loadChildrenFunction · 0.45

Implementers 1

R3TestCompilerpackages/core/testing/src/test_bed_com

Calls 2

compileModuleSyncMethod · 0.95
resolveMethod · 0.65

Tested by

no test coverage detected