Function: workerEngine()
ts
function workerEngine(worker?): DataEngine;Defined in: packages/core/src/engine/worker.ts:10
Run the engine in a Web Worker. With no argument it starts the worker that ships with this package; bundlers that understand new Worker(new URL(..., import.meta.url)) (Vite, webpack 5, esbuild with a plugin) pick it up automatically. Pass your own Worker to control loading.
Parameters
| Parameter | Type |
|---|---|
worker? | Worker |