MCPcopy Index your code
hub / github.com/nodejs/node / link

Method link

lib/internal/modules/esm/module_job.js:495–498  ·  view source on GitHub ↗

* @param {ModuleRequestType} requestType Type of the module request. * @returns {ModuleJobBase[]}

(requestType)

Source from the content-addressed store, hash-verified

493 * @returns {ModuleJobBase[]}
494 */
495 link(requestType) {
496 // Synchronous linking is always used for ModuleJobSync.
497 return this.syncLink(requestType);
498 }
499
500 get modulePromise() {
501 return PromiseResolve(this.module);

Callers 1

constructorMethod · 0.95

Calls 1

syncLinkMethod · 0.80

Tested by

no test coverage detected