Lattice Grid Buy a licence

The grid (background worker) ยท console.warn

no blob: URL support and no config.workerUrl; compute will run on the main thread

Printed by The grid (background worker), prefixed [lattice], since 1.0.1.

Warnings referenceworker/no-blob

Identifier
worker/no-blob
Raised by
The grid (background worker)
Since
1.0.1

What happened

Asked before anything is constructed: this realm has no Blob/URL.createObjectURL pair to build an inline worker from, and the configuration did not name a worker script either. Nothing was attempted, so there is no error to report - the grid simply has no worker and every compute pass runs on the main thread.

The fix

Point worker.workerUrl at a copy of the worker entry you serve yourself; it is the supported route for realms without blob URLs and for strict CSPs.

The smallest fix

createGrid(el, { worker: { workerUrl: new URL('./lattice-worker.js', import.meta.url).href } });

Reference

Covered in full at the API reference.