API Reference
API Reference for run.
API Reference
| API | Type | Description |
|---|---|---|
run | function | Executes source in a fresh sandbox. |
createRunner | function | Creates a runner with shared defaults. |
getHostFunctionContext | function | Returns the context of the active host function. |
createSignedContinuationCodec | function | Creates an HMAC-signed continuation codec. |
createStoredContinuationCodec | function | Creates a storage-backed continuation codec. |
isRunInterruptedResult | function | Checks whether a value is an interrupted run result. |
setMaxWorkers | function | Sets the process-wide worker cap. |
Errors | classes | Lists the errors exported by run. |
Types | types | Lists the TypeScript types exported by run. |