A connection's query progress in the engine's wasm memory (QueryProgressSlot in webdb.h).
The thread that runs a query writes it whenever the engine updates its progress, which it does only with
SET enable_progress_bar = true. On the threads bundle the memory is a SharedArrayBuffer, so the page reads the
progress of a running query with readQueryProgress on its own schedule, while the worker is busy inside the call
that runs it.
A connection's query progress in the engine's wasm memory (
QueryProgressSlotin webdb.h).The thread that runs a query writes it whenever the engine updates its progress, which it does only with
SET enable_progress_bar = true. On the threads bundle the memory is a SharedArrayBuffer, so the page reads the progress of a running query withreadQueryProgresson its own schedule, while the worker is busy inside the call that runs it.