Skip to main content
Version: 0.10.0

Variable: defaultWorkletRuntime

const defaultWorkletRuntime: any

Defined in: core/runtime.ts:25

The default background worklet runtime used for all model execution.

This runtime runs on a dedicated thread separate from the React Native JS thread, preventing model loading and inference from blocking the UI. Pass it explicitly (or a custom WorkletRuntime) to wrapAsync when you need fine-grained control over which thread work executes on.