Skip to main content

Module runtime

Module runtime 

Source
Expand description

QuickJS plugin runtime โ€” loads and manages JS lifecycle plugins.

Each plugin gets its own QuickJS Runtime with:

  • Memory limit (default 64 MB)
  • Max stack size (default 1 MB)
  • Interrupt handler for wall-clock timeout enforcement
  • Sandboxed API surface (no filesystem/network access except via bext.*)

Structsยง

QuickJsPluginConfig
Configuration for loading a single QuickJS plugin.
QuickJsPluginRuntime
Manages loading and lifecycle of QuickJS plugins.