Expand description
Native QuickJS execution, independent of Core/cloud storage and host services. Each call owns its runtime. The local future must run on a dedicated JS worker, not a request executor thread: JavaScript runs synchronously between awaits.
Structs§
- Cancellation
Token - A token which can be used to signal a cancellation request to one or more tasks.
- Invocation
Control - NoHost
- Script
Limits - Script
Workers - A small dedicated CPU pool. Waiting host calls yield within a LocalSet; request saturation cannot consume the separate hook admission capacity. Admission is fail-fast, including hooks, so recursive hooks never wait forever for a slot held by their caller. Capacity is released after actual worker cleanup.
- Worker
Config
Enums§
- Admission
- A trusted host scheduling classification, never selected by script arguments.
Traits§
- Script
Host - Host implementations own trusted tenant/Space/connection context. They must allowlist operations, authorize each call, and bound IO before allocating it. Dropping these futures releases temporary resources; it is not compensation.
Functions§
- invoke
- Source must already be resolved against trusted ownership, manifest and hash. This leaf executor does not grant resource access or fetch artifacts.