Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 664 Bytes

File metadata and controls

12 lines (8 loc) · 664 Bytes

Variable: defaultWorkletRuntime

const defaultWorkletRuntime: WorkletRuntime

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.