Interface BrowserInitConfig

Configuration options for initialising MiniZinc in the browser

interface BrowserInitConfig {
    dataURL?: string | URL;
    numWorkers?: number;
    wasmURL?: string | URL;
    workerURL?: string | URL;
}

Properties

dataURL?: string | URL

URL of the minizinc.data file

numWorkers?: number

Size of web worker pool

wasmURL?: string | URL

URL of the minizinc.wasm file

workerURL?: string | URL

URL of the worker script