MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / loadMainModule

Function loadMainModule

front_end/entrypoints/main/main-meta.ts:242–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240let loadedInspectorMainModule: (typeof InspectorMain|undefined);
241
242async function loadMainModule(): Promise<typeof Main> {
243 if (!loadedMainModule) {
244 loadedMainModule = await import('./main.js');
245 }
246 return loadedMainModule;
247}
248
249// We load the `inspector_main` module for the action `inspector_main.focus-debuggee`
250// which depends on it. It cannot be registered in `inspector_main-meta` as the action

Callers 3

loadActionDelegateFunction · 0.85
loadItemFunction · 0.85
loadAppProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected