Skip to main content

Module runtime

Module runtime 

Source
Expand description

The process-lifetime JSC context: boot, eval, per-frame pump, and the uncaught-error sink.

Structs§

JsError
JsRuntime
One VM + global object, created once, never released. !Send: only touched from the thread that created it.

Constants§

PUMP_MICROTASKS
PUMP_RAF
PUMP_TIMERS
SK_JSC_OPTIONS
The JavaScriptCore options every app runs with, applied by redjs_init before the first VM. An option set in the environment (JSC_jitPolicyScale=1) wins, so it is filtered out in [jsc_options].
SK_PUMP_DELIVERY_BUDGET_US
Cap on how long one pump may spend delivering results that arrive from other threads (IndexedDB).
SK_PUMP_DELIVERY_MIN_US
SK_USER_AGENT

Functions§

delivery_budget_us
set_frame_budget_ms