footprintjs - v11.2.0
    Preparing search index...

    Interface WorkerThreadDriverOptions

    interface WorkerThreadDriverOptions {
        worker?: WorkerLike;
        workerScript?: string;
    }
    Index
    worker?: WorkerLike

    Pre-constructed Worker instance. Pass either this OR workerScript — not both.

    workerScript?: string

    Path / URL to the worker script. Used only when worker is not provided; the driver constructs a Worker from this on demand (Node worker_threads API).