MCPcopy Create free account
hub / github.com/cordiverse/cordis / getOrCreateModuleJob

Method getOrCreateModuleJob

packages/loader/src/internal.ts:89–89  ·  view source on GitHub ↗
(parentURL: string, request: ModuleRequest, requestType?: ModuleRequestType)

Source from the content-addressed store, hash-verified

87 import(specifier: string, parentURL: string, importAttributes: ImportAttributes, phase?: ModulePhase, isEntryPoint?: boolean): Promise<any>
88 register(specifier: string | URL, parentURL?: string | URL, data?: any, transferList?: any[], isInternal?: boolean): void
89 getOrCreateModuleJob(parentURL: string, request: ModuleRequest, requestType?: ModuleRequestType): Promise<ModuleJob>
90 resolveSync(parentURL: string, request: ModuleRequest): ResolveResult
91 load(url: string, context: Pick<LoadHookContext, 'format' | 'importAttributes'>): Promise<LoadResult>
92}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected