MCPcopy Index your code
hub / github.com/simstudioai/sim / toResult

Method toResult

apps/sim/lib/execution/sandbox/types.ts:55–55  ·  view source on GitHub ↗

Host-side transform from raw isolate bytes to the caller's return type.

(bytes: Uint8Array, input: TInput)

Source from the content-addressed store, hash-verified

53 finalize: string
54 /** Host-side transform from raw isolate bytes to the caller's return type. */
55 toResult(bytes: Uint8Array, input: TInput): Buffer
56}

Callers 1

runSandboxTaskFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected