createQuickJsDriver
function createQuickJsDriver(options?): CodeDriver;Defined in: agents/src/quickjs.ts:70
An in-process, sync-Wasm driver with no guest network, files, imports or timers. ponytail: a synchronous guest blocks this thread until an interrupt check. Use a worker-backed CodeDriver if the host must stay responsive during that time. Synchronous host callbacks and Wasm string copies cannot be preempted. Their elapsed time is charged, but hosts must keep callbacks short and cap payloads. The Wasm module keeps its peak allocation even after each runtime is freed.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
QuickJsDriverOptions |