MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / reqd

Function reqd

runtime/tests/runtime.test.js:70–70  ·  view source on GitHub ↗
(frag)

Source from the content-addressed store, hash-verified

68 });
69
70 const reqd = (frag) => requested.some((u) => u.includes(frag));
71 // Lazy host: a host ESM must not load at boot, only when a run first imports it.
72 if (reqd("/app/ui.js")) throw new Error("host ui.js loaded at boot; host modules must be lazy");
73

Callers 1

runtime.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected