API Reference
API Reference for run.
API Reference
[
{
"name": "run",
"type": "function",
"description": "Executes source in a fresh sandbox.",
"href": "./run"
},
{
"name": "createRunner",
"type": "function",
"description": "Creates a runner with shared defaults.",
"href": "./create-runner"
},
{
"name": "getHostFunctionContext",
"type": "function",
"description": "Returns the context of the active host function.",
"href": "./get-host-function-context"
},
{
"name": "createSignedContinuationCodec",
"type": "function",
"description": "Creates an HMAC-signed continuation codec.",
"href": "./create-signed-continuation-codec"
},
{
"name": "createStoredContinuationCodec",
"type": "function",
"description": "Creates a storage-backed continuation codec.",
"href": "./create-stored-continuation-codec"
},
{
"name": "isRunInterruptedResult",
"type": "function",
"description": "Checks whether a value is an interrupted run result.",
"href": "./is-run-interrupted-result"
},
{
"name": "setMaxWorkers",
"type": "function",
"description": "Sets the process-wide worker cap.",
"href": "./set-max-workers"
},
{
"name": "Errors",
"type": "classes",
"description": "Lists the errors exported by run.",
"href": "./errors"
},
{
"name": "Types",
"type": "types",
"description": "Lists the TypeScript types exported by run.",
"href": "./types"
}
]