Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / createIsolatedVMSandbox

Function: createIsolatedVMSandbox()

ts
function createIsolatedVMSandbox(opts?): SandboxImpl;

Defined in: packages/security/src/sandbox/isolated-vm.ts:97

Construct an IsolatedVMSandbox. The adapter resolves the peer lazily on the first run(...) call so the package can be imported even on hosts that cannot install isolated-vm.

Parameters

ParameterType
optsIsolatedVMSandboxOptions

Returns

SandboxImpl

Stable