MCPcopy
hub / github.com/angular/angular / resolveJitResources

Function resolveJitResources

packages/platform-browser/src/browser.ts:175–183  ·  view source on GitHub ↗

Attempt to resolve component resources before bootstrapping in JIT mode.

()

Source from the content-addressed store, hash-verified

173
174/** Attempt to resolve component resources before bootstrapping in JIT mode. */
175async function resolveJitResources(): Promise<void> {
176 try {
177 return await resolveComponentResources(fetch);
178 } catch (error) {
179 // Log, but don't block bootstrapping on error.
180 // tslint:disable-next-line:no-console
181 console.error(error);
182 }
183}
184
185/**
186 * Returns a set of providers required to setup [Testability](api/core/Testability) for an

Callers 2

bootstrapApplicationFunction · 0.85
createApplicationFunction · 0.85

Calls 2

errorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…