Initializes the sandbox.
Optional logger: ILoggerLogger instance
Optional defaultConfig: SandboxConfigDefault configuration
Executes code in the sandbox.
Execution request
Execution result
Gets the status of an execution.
ID of the execution
Current execution result or undefined
Lists recent executions.
Optional limit: numberMaximum number to return
Array of execution results
Gets supported languages.
Array of supported languages
Gets sandbox statistics.
Current statistics
Validates code for obvious security issues.
Programming language
Code to validate
Array of security concerns
Interface for the Code Execution Sandbox.
Example