MCPcopy Create free account
hub / github.com/cloudflare/computer / load

Method load

packages/computer/src/runtime/types.ts:71–71  ·  view source on GitHub ↗
(code: {
    compatibilityDate: string;
    compatibilityFlags?: string[];
    limits?: { cpuMs?: number };
    mainModule: string;
    modules: Record<string, string | { js?: string }>;
    globalOutbound?: Fetcher | null;
  })

Source from the content-addressed store, hash-verified

69
70export interface WorkspaceRuntimeLoader {
71 load(code: {
72 compatibilityDate: string;
73 compatibilityFlags?: string[];
74 limits?: { cpuMs?: number };

Callers 2

startJavaScriptExecutionFunction · 0.65
fetchMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected