Skip to content
1 min read · 77 words

Function: createSandboxMedia()

ts
function createSandboxMedia(options: SandboxMediaOptions): Media;

Defined in: src/batteries/sandbox/media_reader.ts:87

Construct the staged media value returned by a mutating sandbox operation.

Parameters

ParameterTypeDescription
optionsSandboxMediaOptionsFile-reader and media labelling options.

Returns

Media

A staged Media value.

Remarks

The shipped Media factories supply the conservative modality hazard and keep the trust-tier choice explicit at this call site. The reader remains deliberately non-describable.