LocalSandboxSession
Generated by TypeDoc. Do not edit this page directly.
Class: LocalSandboxSession
Section titled “Class: LocalSandboxSession”Defined in: packages/sandbox-local/src/index.ts:43
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LocalSandboxSession(input): LocalSandboxSession;Defined in: packages/sandbox-local/src/index.ts:49
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | { defaultTimeoutMs?: number; env?: Record<string, string> | "inherit" | "minimal"; id?: string; workDir: string; } |
input.defaultTimeoutMs? | number |
input.env? | Record<string, string> | "inherit" | "minimal" |
input.id? | string |
input.workDir | string |
Returns
Section titled “Returns”LocalSandboxSession
Overrides
Section titled “Overrides”HarnessSandboxSession.constructor
Properties
Section titled “Properties”| Property | Modifier | Type | Overrides | Defined in |
|---|---|---|---|---|
id | readonly | string | HarnessSandboxSession.id | packages/sandbox-local/src/index.ts:44 |
workDir | readonly | string | HarnessSandboxSession.workDir | packages/sandbox-local/src/index.ts:45 |
Methods
Section titled “Methods”close()?
Section titled “close()?”optional close(): Promise<void>;Defined in: packages/core/src/runtime/sandbox.ts:40
Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”exec()
Section titled “exec()”exec(input): Promise<SandboxExecResult>;Defined in: packages/sandbox-local/src/index.ts:62
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | SandboxExecInput |
Returns
Section titled “Returns”Promise<SandboxExecResult>