DuckDB-WASM
    Preparing search index...

    Interface QueryProgressHandle

    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.

    interface QueryProgressHandle {
        memory: ArrayBuffer | SharedArrayBuffer;
        offset: number;
    }
    Index

    Properties

    Properties

    memory: ArrayBuffer | SharedArrayBuffer

    The engine's wasm memory

    offset: number

    Byte offset of the connection's progress slot in memory