Skip to content

IframeSandbox

Nodepod API


Nodepod API / src / IframeSandbox

Defined in: src/iframe-sandbox.ts:21

new IframeSandbox(sandboxUrl, vol, cfg?): IframeSandbox

Defined in: src/iframe-sandbox.ts:33

string

MemoryVolume

EngineConfig = {}

IframeSandbox

clearCache(): void

Defined in: src/iframe-sandbox.ts:131

void

IScriptEngine.clearCache


execute(code, filename?): Promise<ExecutionOutcome>

Defined in: src/iframe-sandbox.ts:121

string

string

Promise<ExecutionOutcome>

IScriptEngine.execute


getVolume(): MemoryVolume

Defined in: src/iframe-sandbox.ts:135

MemoryVolume

IScriptEngine.getVolume


runFile(filename): Promise<ExecutionOutcome>

Defined in: src/iframe-sandbox.ts:126

string

Promise<ExecutionOutcome>

IScriptEngine.runFile


terminate(): void

Defined in: src/iframe-sandbox.ts:137

void

IScriptEngine.terminate