Method Signature
Parameters
Configuration options for the context
Returns
The created code execution context
Example
Notes
- Contexts are isolated from each other - variables and state are not shared
- Multiple contexts can exist simultaneously
- Each context has its own execution history
- Contexts persist until explicitly deleted or the sandbox is destroyed
- Use the same context for related code executions to maintain state
See Also
- runCode - Execute code in a context
- listCodeContexts - List all contexts
- deleteCodeContext - Delete a context