context parameter to the runCode() method in JavaScript or run_code() in Python.
Create a new Code Context
You can create a new code execution context by calling thecreateCodeContext() method in JavaScript or create_code_context() in Python and passing the context parameters.
List active Code Contexts
You can list active code execution contexts by calling thelistCodeContexts() method in JavaScript or list_code_contexts() in Python. This will return a list of active code execution contexts.
Restart a Code Context
You can restart an active code execution context by calling therestartCodeContext() method in JavaScript or restart_code_context() in Python and passing the context object or context ID.
Restarting a context will clear its state and start a new code execution session in the same context.
Remove a Code Context
You can remove an active code execution context by calling theremoveCodeContext() method in JavaScript or remove_code_context() in Python and passing the context object or context ID.