MCPcopy Index your code
hub / github.com/web-infra-dev/garfish / loadModule

Method loadModule

packages/loader/src/index.ts:136–142  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

134 }
135
136 loadModule(url: string) {
137 return this.load<ModuleManager>({
138 scope: 'modules',
139 url,
140 isRemoteModule: true,
141 });
142 }
143
144 // Unable to know the final data type, so through "generics"
145 async load<T extends Manager>({

Callers 4

preloadFunction · 0.80
asyncLoadProcessFunction · 0.80
fetchStaticResourcesFunction · 0.80
loadResourceFunction · 0.80

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected