Creating workers
A Worker is a JavaScript runtime running on its own OS thread. This page covers
Messaging & structured clone
Workers communicate with postMessage. This page explains what can cross the
Native modules in workers
A worker can call native modules — C++ (Cxx) modules, platform
Native events (NativeEventEmitter)
Workers can subscribe to native device events with the familiar
UIWorker (main-thread worker)
A UIWorker is a worker whose JavaScript runtime runs on the platform UI/main
Bundling file workers
Inline workers need no build setup. File workers (new Worker('./task')) do —
Debugging workers
A worker is a real Hermes runtime, and it debugs like one. Each background worker
Thread hopping (experimental)
This API is off by default and must be enabled per worker with