interface RunningScriptInNewContextOptions
extends RunningScriptOptions
Usage in Deno
```typescript import { type RunningScriptInNewContextOptions } from "node:node__vm.d.ts"; ```optional
contextName: CreateContextOptions["name"]
Human-readable name of the newly created context.
optional
contextOrigin: CreateContextOptions["origin"]
Origin corresponding to the newly created context for display purposes. The origin should be formatted like a URL,
but with only the scheme, host, and port (if necessary), like the value of the `url.origin` property of a `URL` object.
Most notably, this string should omit the trailing slash, as that denotes a path.
optional
contextCodeGeneration: CreateContextOptions["codeGeneration"]
optional
microtaskMode: CreateContextOptions["microtaskMode"]
If set to `afterEvaluate`, microtasks will be run immediately after the script has run.