Backend
Worker model
Rezi supports three backend execution modes via config.executionMode:
Rezi supports three backend execution modes via config.executionMode:
auto(default): inline whenfpsCap <= 30, worker otherwiseworker: run native engine/polling on a worker threadinline: run native engine inline on the main JS thread
High-level goals:
- worker offload when needed, inline fast path when appropriate
- deterministic backpressure when the app cannot keep up
- avoid unbounded queue growth
Related: