API Reference

API Reference for run.

API Reference

APITypeDescription
runfunctionExecutes source in a fresh sandbox.
createRunnerfunctionCreates a runner with shared defaults.
getHostFunctionContextfunctionReturns the context of the active host function.
createSignedContinuationCodecfunctionCreates an HMAC-signed continuation codec.
createStoredContinuationCodecfunctionCreates a storage-backed continuation codec.
isRunInterruptedResultfunctionChecks whether a value is an interrupted run result.
setMaxWorkersfunctionSets the process-wide worker cap.
ErrorsclassesLists the errors exported by run.
TypestypesLists the TypeScript types exported by run.